discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

helper objects...

BB
Bruno Boettcher
Mon, Apr 13, 2020 4:43 PM

Hello
some time ago i noticed someone adding helper objects to his drawings that
disappear in the compilation, can't now remember where i saw this, but it
occurred to me this was a neat feature....

so i have now an object that clips to a 3030 alu profile, and i want to see
the profile only in fast drawing but not when i compile the object...
i have seen it done, but i can't find the info in the docu?
how can this be achieved?

thanks in advance

--
ciao
Bruno

---==========
http://nohkumado.eu/, http://bboett.free.frhttp://aikido.nohkumado.eu/,
http://bboett.free.fr
http://aikido.zorn.free.fr

Hello some time ago i noticed someone adding helper objects to his drawings that disappear in the compilation, can't now remember where i saw this, but it occurred to me this was a neat feature.... so i have now an object that clips to a 3030 alu profile, and i want to see the profile only in fast drawing but not when i compile the object... i have seen it done, but i can't find the info in the docu? how can this be achieved? thanks in advance -- ciao Bruno =========================================== http://nohkumado.eu/, <http://bboett.free.fr>http://aikido.nohkumado.eu/, <http://bboett.free.fr> http://aikido.zorn.free.fr
TP
Torsten Paul
Mon, Apr 13, 2020 4:46 PM

On 13.04.20 18:43, Bruno Boettcher wrote:

some time ago i noticed someone adding helper objects to his
drawings that disappear in the compilation

On 13.04.20 18:43, Bruno Boettcher wrote: > some time ago i noticed someone adding helper objects to his > drawings that disappear in the compilation That should be the "background modifier": https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/Modifier_Characters#Background_Modifier ciao, Torsten.
NH
nop head
Mon, Apr 13, 2020 4:58 PM

There is the %background modifier

Ignore this subtree for the normal rendering process and draw it in

transparent gray (all transformations are still applied to the nodes in
this tree).
Because the marked subtree is completely ignored, it might have unexpected
effects in case it's used, for example, with the first object in a
difference(). In that case this object is rendered in transparent gray, but
it is not used as the base for the difference()!

And there is $preview

$preview is true, when in OpenCSG preview (F5). $preview is false, when in
render (F6).
This can, for example, be used to reduce detail during preview to save
time, without losing detail in the final rendered result:

On Mon, 13 Apr 2020 at 17:44, Bruno Boettcher bboett@gmail.com wrote:

Hello
some time ago i noticed someone adding helper objects to his drawings that
disappear in the compilation, can't now remember where i saw this, but it
occurred to me this was a neat feature....

so i have now an object that clips to a 3030 alu profile, and i want to
see the profile only in fast drawing but not when i compile the object...
i have seen it done, but i can't find the info in the docu?
how can this be achieved?

thanks in advance

--
ciao
Bruno

---==========
http://nohkumado.eu/, http://bboett.free.frhttp://aikido.nohkumado.eu/,
http://bboett.free.fr
http://aikido.zorn.free.fr


OpenSCAD mailing list
Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org

There is the %background modifier Ignore this subtree for the normal rendering process and draw it in > transparent gray (all transformations are still applied to the nodes in > this tree). > Because the marked subtree is completely ignored, it might have unexpected > effects in case it's used, for example, with the first object in a > difference(). In that case this object is rendered in transparent gray, but > it is *not* used as the base for the difference()! And there is $preview > $preview is true, when in OpenCSG preview (F5). $preview is false, when in > render (F6). > This can, for example, be used to reduce detail during preview to save > time, without losing detail in the final rendered result: On Mon, 13 Apr 2020 at 17:44, Bruno Boettcher <bboett@gmail.com> wrote: > Hello > some time ago i noticed someone adding helper objects to his drawings that > disappear in the compilation, can't now remember where i saw this, but it > occurred to me this was a neat feature.... > > so i have now an object that clips to a 3030 alu profile, and i want to > see the profile only in fast drawing but not when i compile the object... > i have seen it done, but i can't find the info in the docu? > how can this be achieved? > > thanks in advance > > -- > ciao > Bruno > > =========================================== > http://nohkumado.eu/, <http://bboett.free.fr>http://aikido.nohkumado.eu/, > <http://bboett.free.fr> > http://aikido.zorn.free.fr > _______________________________________________ > OpenSCAD mailing list > Discuss@lists.openscad.org > http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org >