kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #23447
Re: 3D-Viewer feature proposal: display of the 3D Shapes based on Attributes of the footprint
Hello again,
Could someone clarify this:
https://github.com/KiCad/kicad-source-mirror/blob/a356293fee05b5a48853a3bb1c0d565f846113e6/pcbnew/class_module.h#L64
* Enum MODULE_ATTR_T
* is the set of attributes allowed within a MODULE, using MODULE::SetAttributes()
* and MODULE::GetAttributes(). These are to be ORed together when calling
* MODULE::SetAttributes()
However, in the options:
http://docs.kicad-pcb.org/en/pcbnew.html#_attributes
only an option can be set at one time.
On the source code I see lots of | (or) with this flags. Example:
https://github.com/KiCad/kicad-source-mirror/blob/d24bd85bf503f83429acbeb31e34323f901f0873/pcbnew/muonde.cpp#L292
Could you clarify how it should be interpreted?
Thanks
Mario
________________________________________
From: Kicad-developers [kicad-developers-bounces+mrluzeiro=ua.pt@xxxxxxxxxxxxxxxxxxx] on behalf of Mário Luzeiro [mrluzeiro@xxxxx]
Sent: 25 February 2016 12:30
To: kicad-developers@xxxxxxxxxxxxxxxxxxx
Subject: [Kicad-developers] 3D-Viewer feature proposal: display of the 3D Shapes based on Attributes of the footprint
Hello all,
Does it makes sense to add an option in 3D Viewer to display the footprint 3D Shapes, based on the Attributes of a footprint?
http://docs.kicad-pcb.org/en/pcbnew.html#_attributes
So user can individual select to visualize all "Normal" 3dshapes (THT?) and/or "Normal+Insert" (SMD?) 3dshapes and/or "Virtual" (?) 3dshapes ?
Some users (i.e. Maurice) suggest that the "Virtual" option could also be used with the propose to place/display mechanical (eg: enclosures) 3dshapes.
Mario Luzeiro
_______________________________________________
Mailing list: https://launchpad.net/~kicad-developers
Post to : kicad-developers@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~kicad-developers
More help : https://help.launchpad.net/ListHelp
Follow ups
References