← Back to team overview

kicad-developers team mailing list archive

Re: 3D-Viewer - Request for merge evaluation

 

Le 14/06/2016 à 19:50, Mário Luzeiro a écrit :
> Hi Wayne,
> 
> As you may know, I have been working on refactoring the 3D-Viewer. I believe it is ready to be evaluated to a merge in the main KiCad branch.
> 
> At this moment it supports all the same features as the current stable version plus lots of new useful features, eye-candy and performance improvements.
> It completely takes advantage of the 3D plugin system (developed by Cirilo) that is already present in main KiCad repository.
> 
> I invite you and you are welcomed to give a try in my branch:
> https://code.launchpad.net/~mrluzeiro/kicad/kicad_new3d-viewer
> 
> Thanks in advance!
> 
> Regards,
> Mario Luzeiro

Thanks, Mario.

The attached board crashes the new 3D viewer.
Something creates the crash in the footprint loaded on the board:

Application: kicad
Version: (2016-06-17 BZR 6099)-product, release build
Libraries: wxWidgets 3.1
           libcurl/7.46.0 OpenSSL/1.0.2f zlib/1.2.8 libidn/1.32 libssh2/1.6.0 librtmp/2.3
Platform: Windows 7 (build 7601, Service Pack 1), 32 bit, Little endian, wxMSW
- Build Info -
wxWidgets: 3.1.0 (wchar_t,wx containers)
Boost: 1.60.0
Curl: 7.47.1
KiCad - Compiler: GCC 5.3.0 with C++ ABI 1009
        Settings: USE_WX_GRAPHICS_CONTEXT=OFF
                  USE_WX_OVERLAY=OFF
                  KICAD_SCRIPTING=OFF
                  KICAD_SCRIPTING_MODULES=OFF
                  KICAD_SCRIPTING_WXPYTHON=OFF
                  USE_FP_LIB_TABLE=HARD_CODED_ON
                  BUILD_GITHUB_PLUGIN=ON


I have sometimes an other issue:
The 3D display freezes sometimes (only the display).
It happens more easily after switching between OpenGL and Raytracing.

I remember I had this issue some times ago.

Regards,

-- 
Jean-Pierre CHARRAS
(kicad_pcb (version 4) (host pcbnew "(2016-06-17 BZR 6099)-product")

  (general
    (links 3)
    (no_connects 3)
    (area 73.469499 26.199499 233.870501 139.94698)
    (thickness 1.6)
    (drawings 5)
    (tracks 0)
    (zones 0)
    (modules 1)
    (nets 6)
  )

  (page A4)
  (title_block
    (title "SERIAL PIC PROGRAMMER")
  )

  (layers
    (0 Composant signal)
    (31 Cuivre signal)
    (32 B.Adhes user)
    (33 F.Adhes user)
    (34 B.Paste user)
    (35 F.Paste user)
    (36 B.SilkS user)
    (37 F.SilkS user)
    (38 B.Mask user)
    (39 F.Mask user)
    (40 Dwgs.User user)
    (41 Cmts.User user)
    (42 Eco1.User user)
    (43 Eco2.User user)
    (44 Edge.Cuts user)
    (45 Margin user)
    (46 B.CrtYd user)
    (47 F.CrtYd user)
    (48 B.Fab user)
    (49 F.Fab user)
  )

  (setup
    (last_trace_width 0.5)
    (user_trace_width 0.4)
    (user_trace_width 0.5)
    (trace_clearance 0.25)
    (zone_clearance 0.508)
    (zone_45_only no)
    (trace_min 0.254)
    (segment_width 0.381)
    (edge_width 0.381)
    (via_size 1.6)
    (via_drill 0.6)
    (via_min_size 0.889)
    (via_min_drill 0.508)
    (uvia_size 0.508)
    (uvia_drill 0.127)
    (uvias_allowed no)
    (uvia_min_size 0.508)
    (uvia_min_drill 0.127)
    (pcb_text_width 0.3048)
    (pcb_text_size 1.524 2.032)
    (mod_edge_width 0.381)
    (mod_text_size 1.524 1.524)
    (mod_text_width 0.3048)
    (pad_size 1.5748 2.794)
    (pad_drill 1.016)
    (pad_to_mask_clearance 0.1)
    (aux_axis_origin 62.23 153.67)
    (visible_elements 7FFFFFFF)
    (pcbplotparams
      (layerselection 0x000e0_ffffffff)
      (usegerberextensions false)
      (usegerberattributes true)
      (excludeedgelayer false)
      (linewidth 0.150000)
      (plotframeref false)
      (viasonmask false)
      (mode 1)
      (useauxorigin false)
      (hpglpennumber 1)
      (hpglpenspeed 20)
      (hpglpendiameter 15)
      (psnegative false)
      (psa4output false)
      (plotreference true)
      (plotvalue true)
      (plotinvisibletext false)
      (padsonsilk true)
      (subtractmaskfromsilk false)
      (outputformat 1)
      (mirror false)
      (drillshape 0)
      (scaleselection 1)
      (outputdirectory plots))
  )

  (net 0 "")
  (net 1 GND)
  (net 2 /pic_sockets/VCC_PIC)
  (net 3 /pic_sockets/VPP-MCLR)
  (net 4 /pic_sockets/CLOCK-RB6)
  (net 5 /pic_sockets/DATA-RB7)

  (net_class Default "Ceci est la Netclass par défaut"
    (clearance 0.25)
    (trace_width 0.5)
    (via_dia 1.6)
    (via_drill 0.6)
    (uvia_dia 0.508)
    (uvia_drill 0.127)
    (add_net /pic_sockets/CLOCK-RB6)
    (add_net /pic_sockets/DATA-RB7)
    (add_net /pic_sockets/VCC_PIC)
    (add_net /pic_sockets/VPP-MCLR)
  )

  (net_class POWER ""
    (clearance 0.28)
    (trace_width 0.8)
    (via_dia 1.6)
    (via_drill 0.6)
    (uvia_dia 0.508)
    (uvia_drill 0.127)
    (add_net GND)
  )

  (module sockets:40tex-Ell600 (layer Composant) (tedit 57507A40) (tstamp 541E1940)
    (at 182.88 74.93 270)
    (descr "Support TEXTOOL Dil 40 pins, pads elliptiques, e=600 mils")
    (tags DEV)
    (path /4804A5E2/442A88ED)
    (fp_text reference P3 (at -3.81 -3.175 270) (layer F.SilkS)
      (effects (font (size 2.032 1.27) (thickness 0.3048)))
    )
    (fp_text value SUPP40 (at -5.715 1.905 270) (layer F.SilkS)
      (effects (font (size 2.032 1.27) (thickness 0.3048)))
    )
    (fp_line (start -29.21 -5.08) (end 26.67 -5.08) (layer F.SilkS) (width 0.381))
    (fp_line (start 26.67 -5.08) (end 26.67 5.08) (layer F.SilkS) (width 0.381))
    (fp_line (start 26.67 5.08) (end -29.21 5.08) (layer F.SilkS) (width 0.381))
    (fp_line (start -29.21 5.08) (end -29.21 -5.08) (layer F.SilkS) (width 0.381))
    (fp_line (start -24.13 -11.43) (end -24.13 -15.24) (layer F.SilkS) (width 0.381))
    (fp_line (start -24.13 -15.24) (end -25.4 -16.51) (layer F.SilkS) (width 0.381))
    (fp_line (start -25.4 -16.51) (end -27.94 -16.51) (layer F.SilkS) (width 0.381))
    (fp_line (start -27.94 -16.51) (end -29.21 -15.24) (layer F.SilkS) (width 0.381))
    (fp_line (start -29.21 -15.24) (end -29.21 -11.43) (layer F.SilkS) (width 0.381))
    (fp_line (start 24.13 11.43) (end 24.13 15.24) (layer F.SilkS) (width 0.381))
    (fp_line (start 24.13 15.24) (end 22.86 16.51) (layer F.SilkS) (width 0.381))
    (fp_line (start 22.86 16.51) (end 20.32 16.51) (layer F.SilkS) (width 0.381))
    (fp_line (start 20.32 16.51) (end 19.05 15.24) (layer F.SilkS) (width 0.381))
    (fp_line (start 19.05 15.24) (end 19.05 11.43) (layer F.SilkS) (width 0.381))
    (fp_line (start -29.21 10.16) (end -29.21 11.43) (layer F.SilkS) (width 0.381))
    (fp_line (start -48.26 10.16) (end -48.26 11.43) (layer F.SilkS) (width 0.381))
    (fp_line (start -48.26 11.43) (end -46.99 12.7) (layer F.SilkS) (width 0.381))
    (fp_line (start -46.99 12.7) (end -40.64 12.7) (layer F.SilkS) (width 0.381))
    (fp_line (start -40.64 12.7) (end -39.37 11.43) (layer F.SilkS) (width 0.381))
    (fp_line (start -39.37 11.43) (end -39.37 10.16) (layer F.SilkS) (width 0.381))
    (fp_line (start -39.37 10.16) (end -29.21 10.16) (layer F.SilkS) (width 0.381))
    (fp_line (start -39.37 11.43) (end -33.02 11.43) (layer F.SilkS) (width 0.381))
    (fp_line (start -39.37 10.16) (end -40.64 8.89) (layer F.SilkS) (width 0.381))
    (fp_line (start -40.64 8.89) (end -46.99 8.89) (layer F.SilkS) (width 0.381))
    (fp_line (start -46.99 8.89) (end -48.26 10.16) (layer F.SilkS) (width 0.381))
    (fp_line (start -33.02 -11.43) (end 30.48 -11.43) (layer F.SilkS) (width 0.381))
    (fp_line (start 30.48 -11.43) (end 31.75 -10.16) (layer F.SilkS) (width 0.381))
    (fp_line (start 31.75 -10.16) (end 31.75 10.16) (layer F.SilkS) (width 0.381))
    (fp_line (start 31.75 10.16) (end 30.48 11.43) (layer F.SilkS) (width 0.381))
    (fp_line (start 30.48 11.43) (end -33.02 11.43) (layer F.SilkS) (width 0.381))
    (fp_line (start -33.02 11.43) (end -34.29 10.16) (layer F.SilkS) (width 0.381))
    (fp_line (start -34.29 10.16) (end -34.29 -10.16) (layer F.SilkS) (width 0.381))
    (fp_line (start -34.29 -10.16) (end -33.02 -11.43) (layer F.SilkS) (width 0.381))
    (pad 1 thru_hole rect (at -24.13 7.62 270) (size 1.5748 2.794) (drill 1.016) (layers *.Cu *.Mask F.SilkS)
      (net 3 /pic_sockets/VPP-MCLR))
    (pad 2 thru_hole roundrect (at -21.59 7.62 270) (size 1.5748 2.794) (drill 1.016) (layers *.Cu *.Mask F.SilkS)(roundrect_rratio 0.25))
    (pad 3 thru_hole oval (at -19.05 7.62 270) (size 1.5748 2.794) (drill 1.016) (layers *.Cu *.Mask F.SilkS))
    (pad 4 thru_hole oval (at -16.51 7.62 270) (size 1.5748 2.794) (drill 1.016) (layers *.Cu *.Mask F.SilkS))
    (pad 5 thru_hole oval (at -13.97 7.62 270) (size 1.5748 2.794) (drill 1.016) (layers *.Cu *.Mask F.SilkS))
    (pad 6 thru_hole oval (at -11.43 7.62 270) (size 1.5748 2.794) (drill 1.016) (layers *.Cu *.Mask F.SilkS))
    (pad 7 thru_hole oval (at -8.89 7.62 270) (size 1.5748 2.794) (drill 1.016) (layers *.Cu *.Mask F.SilkS))
    (pad 8 thru_hole oval (at -6.35 7.62 270) (size 1.5748 2.794) (drill 1.016) (layers *.Cu *.Mask F.SilkS)
      (net 1 GND))
    (pad 9 thru_hole oval (at -3.81 7.62 270) (size 1.5748 2.794) (drill 1.016) (layers *.Cu *.Mask F.SilkS))
    (pad 10 thru_hole oval (at -1.27 7.62 270) (size 1.5748 2.794) (drill 1.016) (layers *.Cu *.Mask F.SilkS))
    (pad 11 thru_hole oval (at 1.27 7.62 270) (size 1.5748 2.794) (drill 1.016) (layers *.Cu *.Mask F.SilkS)
      (net 2 /pic_sockets/VCC_PIC))
    (pad 12 thru_hole oval (at 3.81 7.62 270) (size 1.5748 2.794) (drill 1.016) (layers *.Cu *.Mask F.SilkS)
      (net 1 GND))
    (pad 13 thru_hole oval (at 6.35 7.62 270) (size 1.5748 2.794) (drill 1.016) (layers *.Cu *.Mask F.SilkS))
    (pad 14 thru_hole oval (at 8.89 7.62 270) (size 1.5748 2.794) (drill 1.016) (layers *.Cu *.Mask F.SilkS))
    (pad 15 thru_hole oval (at 11.43 7.62 270) (size 1.5748 2.794) (drill 1.016) (layers *.Cu *.Mask F.SilkS))
    (pad 16 thru_hole oval (at 13.97 7.62 270) (size 1.5748 2.794) (drill 1.016) (layers *.Cu *.Mask F.SilkS))
    (pad 17 thru_hole oval (at 16.51 7.62 270) (size 1.5748 2.794) (drill 1.016) (layers *.Cu *.Mask F.SilkS))
    (pad 18 thru_hole oval (at 19.05 7.62 270) (size 1.5748 2.794) (drill 1.016) (layers *.Cu *.Mask F.SilkS))
    (pad 19 thru_hole oval (at 21.59 7.62 270) (size 1.5748 2.794) (drill 1.016) (layers *.Cu *.Mask F.SilkS))
    (pad 20 thru_hole oval (at 24.13 7.62 270) (size 1.5748 2.794) (drill 1.016) (layers *.Cu *.Mask F.SilkS))
    (pad 21 thru_hole oval (at 24.13 -7.62 270) (size 1.5748 2.794) (drill 1.016) (layers *.Cu *.Mask F.SilkS))
    (pad 22 thru_hole oval (at 21.59 -7.62 270) (size 1.5748 2.794) (drill 1.016) (layers *.Cu *.Mask F.SilkS))
    (pad 23 thru_hole oval (at 19.05 -7.62 270) (size 1.5748 2.794) (drill 1.016) (layers *.Cu *.Mask F.SilkS))
    (pad 24 thru_hole oval (at 16.51 -7.62 270) (size 1.5748 2.794) (drill 1.016) (layers *.Cu *.Mask F.SilkS))
    (pad 25 thru_hole oval (at 13.97 -7.62 270) (size 1.5748 2.794) (drill 1.016) (layers *.Cu *.Mask F.SilkS))
    (pad 26 thru_hole oval (at 11.43 -7.62 270) (size 1.5748 2.794) (drill 1.016) (layers *.Cu *.Mask F.SilkS))
    (pad 27 thru_hole oval (at 8.89 -7.62 270) (size 1.5748 2.794) (drill 1.016) (layers *.Cu *.Mask F.SilkS))
    (pad 28 thru_hole oval (at 6.35 -7.62 270) (size 1.5748 2.794) (drill 1.016) (layers *.Cu *.Mask F.SilkS))
    (pad 29 thru_hole oval (at 3.81 -7.62 270) (size 1.5748 2.794) (drill 1.016) (layers *.Cu *.Mask F.SilkS))
    (pad 30 thru_hole oval (at 1.27 -7.62 270) (size 1.5748 2.794) (drill 1.016) (layers *.Cu *.Mask F.SilkS))
    (pad 31 thru_hole roundrect (at -1.27 -7.62 270) (size 1.5748 2.794) (drill 1.016) (layers *.Cu *.Mask F.SilkS)(roundrect_rratio 0.25)
      (net 1 GND))
    (pad 32 thru_hole oval (at -3.81 -7.62 270) (size 1.5748 2.794) (drill 1.016) (layers *.Cu *.Mask F.SilkS)
      (net 2 /pic_sockets/VCC_PIC))
    (pad 33 thru_hole oval (at -6.35 -7.62 270) (size 1.5748 2.794) (drill 1.016) (layers *.Cu *.Mask F.SilkS))
    (pad 34 thru_hole oval (at -8.89 -7.62 270) (size 1.5748 2.794) (drill 1.016) (layers *.Cu *.Mask F.SilkS))
    (pad 35 thru_hole oval (at -11.43 -7.62 270) (size 1.5748 2.794) (drill 1.016) (layers *.Cu *.Mask F.SilkS))
    (pad 36 thru_hole oval (at -13.97 -7.62 270) (size 1.5748 2.794) (drill 1.016) (layers *.Cu *.Mask F.SilkS))
    (pad 37 thru_hole oval (at -16.51 -7.62 270) (size 1.5748 2.794) (drill 1.016) (layers *.Cu *.Mask F.SilkS))
    (pad 38 thru_hole oval (at -19.05 -7.62 270) (size 1.5748 2.794) (drill 1.016) (layers *.Cu *.Mask F.SilkS))
    (pad 39 thru_hole oval (at -21.59 -7.62 270) (size 1.5748 2.794) (drill 1.016) (layers *.Cu *.Mask F.SilkS)
      (net 4 /pic_sockets/CLOCK-RB6))
    (pad 40 thru_hole oval (at -24.13 -7.62 270) (size 1.5748 2.794) (drill 1.016) (layers *.Cu *.Mask F.SilkS)
      (net 5 /pic_sockets/DATA-RB7))
    (pad HOLE thru_hole circle (at -26.67 -13.97 270) (size 2.54 2.54) (drill 2.032) (layers *.Cu *.Mask F.SilkS))
    (pad HOLE thru_hole circle (at 21.59 13.97 270) (size 2.54 2.54) (drill 2.032) (layers *.Cu *.Mask F.SilkS))
    (model Sockets.3dshapes/40tex600.wrl
      (at (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )

  (gr_line (start 233.68 40.64) (end 233.68 139.7) (angle 90) (layer Edge.Cuts) (width 0.381))
  (gr_line (start 173.99 40.64) (end 233.68 40.64) (angle 90) (layer Edge.Cuts) (width 0.381))
  (gr_line (start 73.66 139.7) (end 73.66 40.64) (angle 90) (layer Edge.Cuts) (width 0.381))
  (gr_line (start 233.68 139.7) (end 73.66 139.7) (angle 90) (layer Edge.Cuts) (width 0.381))
  (gr_line (start 73.66 40.64) (end 173.99 40.64) (angle 90) (layer Edge.Cuts) (width 0.381))

)

Follow ups

References