GS
Guenther Sohler
Thu, Aug 17, 2023 5:18 AM
Just want to write in behalf of Sanjeev.
I am sure that If current openscad had better and easier abilities to Work
with Arrays, He die Not choose the external python approach. Cheers
Sanjeev Prabhakar sprabhakar2006@gmail.com schrieb am Do., 17. Aug. 2023,
02:29:
just want to clarify on "nothing to do with openSCAD"
I am only using python for calculating the vertices in space.
polyhedron() is an openscad feature
difference () is an openscad feature
intersection () is an openscad feature
hull() is an openscad feature
Without the above, models cannot be made. It is not like an stl file
import.
Also it is not 1 large polyhedron, there are multiple of them.
Thanks
On Wed, 16 Aug, 2023, 11:14 pm Michael Möller, private2michael@gmail.com
wrote:
Well, that question should be debated in its own thread/subj:-line.
I feel we have 3 subject areas:
- The "pure" OpenSCAD usage questions: syntax, funktion, getting data
in&out, versions, bugs ...
- The "add ons" - BOSL2 and Sanjeev's python frontend.
- Hardware related- ie on how to get a physical implementation of a
model.
The list could be subdivided a bit further.
IMHO the list should restrict itself to 1. The occasional hardware
question is not a problem, but it gets a bit strained in that many OpenSCAD
questions are answered with "use this instead". Admittedly, pure (and
simple) OpenSCAD can not solve all 3D model desires, but should that be a
problem?
I found it nice to hear about BOSL2, but find longer problems irrelevant.
BOSL2 is bigger than OpenSCAD in the number of features and functions, i.e.
it is like a new language (perhaps like C++ is "just" an extension of C ?)
Sanjeev's python work is also a new language which only uses OpenSCAD as a
render, as it produces one large polyhedra. Fantastic, but has almost
nothing to do with OpenSCAD.
Msquare
On Wed, 16 Aug 2023 at 18:52, jon jon@jonbondy.com wrote:
How do the forum members feel about postings like this, which have more
to do with python than with OpenSCAD? I personally find it to be
unnecessary and distracting, but I will defer to the feelings of the group.
Jon
On 8/16/2023 12:22 PM, Sanjeev Prabhakar wrote:
openscad version
[image: Screenshot 2023-08-16 at 9.44.44 PM.png]
#python code to create this:
from openscad1 import *
sec=circle(25)
path=cr(pts1([[0,0,0],[0,15,1],[-6,50,1],[0,18,0]]),10)
sol=prism(sec,path)
sol1=prism(circle(24),path)
sol0=swp_prism_h(sol,sol1)
sec2=circle(15)
path2=cr_3d([[0,0,15,0],[-60,0,40,20],[0,0,30,0]],10)
sol2=path_extrude_open(sec2,path2)
sol3=path_extrude_open(offset(sec2,-1),path2)
sol02=swp_prism_h(sol2,sol3)
fillet1=ip_fillet(sol,sol2,3,3)
sec3=cr(pts1([[0,0],[-2,1,.2],[2,1]]),10)
path3=helix(14,2.5,6,5)
sol4=path_extrude_open(sec3,path3)
sol4=sol2vector([0,0,1,],sol4,[-60,0,70])
with open('/Users/sanjeevprabhakar/iCloud Drive
(Archive)/Documents/Download/openscad/trial.scad','w+') as f:
f.write(f'''
difference(){{
{swp_c(sol0)}
{swp(sol3)}
}}
difference(){{
{swp_c(sol02)}
{swp(sol)}
}}
{swp_c(fillet1)}
intersection(){{
color("blue"){swp(sol4)}
{swp(sol3)}
}}
''')
#for this code to work you would need file openscad1.py
On Wed, 16 Aug 2023 at 14:29, Sanjeev Prabhakar <
sprabhakar2006@gmail.com> wrote:
This seems to me as quite a simple case although haven't tried it yet.
As per my understanding it should be easy to do with BOSL library. May
be Adrian can comment.
If you want, I can make it through my python approach.
It is mainly 2 tubes which needs to be fused together and some easy
filleting.
Threads parts maybe a little tricky, but not too difficult for sure.
On Wed, 16 Aug, 2023, 12:42 pm Karl Exler, karl.exler@meinklang.cc
wrote:
Dear all
I found the enclosed adapter on Thingiverse. Unfortunately nearly all
diameters are not in that size I need it. Did anyone of you created
such
an (similar) object in Openscad? Is it possible to get that file?
Or- if not- how would an expert start with that projects?
Until now I only use Openscad functions and some of the BOSL libraries.
Many thanks in advance
Karl
OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org
Just want to write in behalf of Sanjeev.
I am sure that If current openscad had better and easier abilities to Work
with Arrays, He die Not choose the external python approach. Cheers
Sanjeev Prabhakar <sprabhakar2006@gmail.com> schrieb am Do., 17. Aug. 2023,
02:29:
> just want to clarify on "nothing to do with openSCAD"
>
> I am only using python for calculating the vertices in space.
>
> polyhedron() is an openscad feature
> difference () is an openscad feature
> intersection () is an openscad feature
> hull() is an openscad feature
>
> Without the above, models cannot be made. It is not like an stl file
> import.
>
> Also it is not 1 large polyhedron, there are multiple of them.
>
> Thanks
>
>
> On Wed, 16 Aug, 2023, 11:14 pm Michael Möller, <private2michael@gmail.com>
> wrote:
>
>> Well, that question should be debated in its own thread/subj:-line.
>>
>> I feel we have 3 subject areas:
>> 1) The "pure" OpenSCAD usage questions: syntax, funktion, getting data
>> in&out, versions, bugs ...
>> 2) The "add ons" - BOSL2 and Sanjeev's python frontend.
>> 3) Hardware related- ie on how to get a physical implementation of a
>> model.
>> The list could be subdivided a bit further.
>>
>> IMHO the list should restrict itself to 1. The occasional hardware
>> question is not a problem, but it gets a bit strained in that many OpenSCAD
>> questions are answered with "use this instead". Admittedly, pure (and
>> simple) OpenSCAD can not solve all 3D model desires, but should that be a
>> problem?
>>
>> I found it nice to hear about BOSL2, but find longer problems irrelevant.
>> BOSL2 is bigger than OpenSCAD in the number of features and functions, i.e.
>> it is like a new language (perhaps like C++ is "just" an extension of C ?)
>> Sanjeev's python work is also a new language which only uses OpenSCAD as a
>> render, as it produces one large polyhedra. Fantastic, but has almost
>> nothing to do with OpenSCAD.
>>
>> Msquare
>>
>>
>>
>>
>> On Wed, 16 Aug 2023 at 18:52, jon <jon@jonbondy.com> wrote:
>>
>>> How do the forum members feel about postings like this, which have more
>>> to do with python than with OpenSCAD? I personally find it to be
>>> unnecessary and distracting, but I will defer to the feelings of the group.
>>>
>>> Jon
>>>
>>>
>>> On 8/16/2023 12:22 PM, Sanjeev Prabhakar wrote:
>>>
>>> openscad version
>>> [image: Screenshot 2023-08-16 at 9.44.44 PM.png]
>>>
>>> #python code to create this:
>>>
>>> from openscad1 import *
>>> sec=circle(25)
>>> path=cr(pts1([[0,0,0],[0,15,1],[-6,50,1],[0,18,0]]),10)
>>> sol=prism(sec,path)
>>> sol1=prism(circle(24),path)
>>> sol0=swp_prism_h(sol,sol1)
>>> sec2=circle(15)
>>> path2=cr_3d([[0,0,15,0],[-60,0,40,20],[0,0,30,0]],10)
>>> sol2=path_extrude_open(sec2,path2)
>>> sol3=path_extrude_open(offset(sec2,-1),path2)
>>> sol02=swp_prism_h(sol2,sol3)
>>> fillet1=ip_fillet(sol,sol2,3,3)
>>>
>>> sec3=cr(pts1([[0,0],[-2,1,.2],[2,1]]),10)
>>> path3=helix(14,2.5,6,5)
>>> sol4=path_extrude_open(sec3,path3)
>>>
>>> sol4=sol2vector([0,0,1,],sol4,[-60,0,70])
>>> with open('/Users/sanjeevprabhakar/iCloud Drive
>>> (Archive)/Documents/Download/openscad/trial.scad','w+') as f:
>>> f.write(f'''
>>> difference(){{
>>> {swp_c(sol0)}
>>> {swp(sol3)}
>>> }}
>>> difference(){{
>>> {swp_c(sol02)}
>>> {swp(sol)}
>>> }}
>>> {swp_c(fillet1)}
>>> intersection(){{
>>> color("blue"){swp(sol4)}
>>> {swp(sol3)}
>>> }}
>>>
>>> ''')
>>>
>>> #for this code to work you would need file openscad1.py
>>>
>>> On Wed, 16 Aug 2023 at 14:29, Sanjeev Prabhakar <
>>> sprabhakar2006@gmail.com> wrote:
>>>
>>>> This seems to me as quite a simple case although haven't tried it yet.
>>>>
>>>> As per my understanding it should be easy to do with BOSL library. May
>>>> be Adrian can comment.
>>>>
>>>> If you want, I can make it through my python approach.
>>>>
>>>> It is mainly 2 tubes which needs to be fused together and some easy
>>>> filleting.
>>>>
>>>> Threads parts maybe a little tricky, but not too difficult for sure.
>>>>
>>>>
>>>>
>>>>
>>>> On Wed, 16 Aug, 2023, 12:42 pm Karl Exler, <karl.exler@meinklang.cc>
>>>> wrote:
>>>>
>>>>> Dear all
>>>>> I found the enclosed adapter on Thingiverse. Unfortunately nearly all
>>>>> diameters are not in that size I need it. Did anyone of you created
>>>>> such
>>>>> an (similar) object in Openscad? Is it possible to get that file?
>>>>> Or- if not- how would an expert start with that projects?
>>>>>
>>>>> Until now I only use Openscad functions and some of the BOSL libraries.
>>>>>
>>>>> Many thanks in advance
>>>>> Karl
>>>>> _______________________________________________
>>>>> OpenSCAD mailing list
>>>>> To unsubscribe send an email to discuss-leave@lists.openscad.org
>>>>>
>>>>
>>> _______________________________________________
>>> OpenSCAD mailing list
>>> To unsubscribe send an email to discuss-leave@lists.openscad.org
>>>
>>> _______________________________________________
>>> OpenSCAD mailing list
>>> To unsubscribe send an email to discuss-leave@lists.openscad.org
>>>
>> _______________________________________________
> OpenSCAD mailing list
> To unsubscribe send an email to discuss-leave@lists.openscad.org
>
MP
Marcus Poller
Thu, Aug 17, 2023 8:22 AM
I found the enclosed adapter on Thingiverse.
[cylindrical Y-adapter with different diameters on each side, one of the cylinders has an inner thread]
Has your problem been solved?
If not:
(1) Do you require the inner thread of the smaller exhaust cylinder?
(2) is the angle between the two small exhaust cylinders important?
I think the model can be simplified to four cylinders - two outer cylinders add up to the y-shape, two inner cylinders to make it hollow. As a proof of concept, I have attached a sample code and a render image.
Cheers,
Marcus
Hi Karl,
> I found the enclosed adapter on Thingiverse.
[cylindrical Y-adapter with different diameters on each side, one of the cylinders has an inner thread]
Has your problem been solved?
If not:
(1) Do you require the inner thread of the smaller exhaust cylinder?
(2) is the angle between the two small exhaust cylinders important?
I think the model can be simplified to four cylinders - two outer cylinders add up to the y-shape, two inner cylinders to make it hollow. As a proof of concept, I have attached a sample code and a render image.
Cheers,
Marcus
JB
Jordan Brown
Thu, Aug 17, 2023 8:43 PM
My 2¢:
Hardware, slicers, non-programmatic design tools - clearly off topic,
but this is a community; it will occasionally have side conversations
and within reason that's OK. Like nophead, I have a delete key, an "n"
key (next unread message), and an "r" key (mark thread as read), and
filters.
BOSL2 and other OpenSCAD libraries - clearly on topic, but BOSL2 is a
large enough topic in its own right that perhaps it should get its own
mailing list for more extensive and specialized conversations.
Programmatic design tools, generically (Python tools, AngelCAD, et
cetera) - off topic, but certainly nearby. I wouldn't want WhateverCAD
tech support conversations here, but an occasional "if you're having
problems thinking in OpenSCAD, maybe you would like XXX, here's how it
compares, for more information go over <there>" would, I think, be
entirely appropriate, as would "I just saw this cool feature in YYY, it
works like <this>, maybe we could steal it for OpenSCAD".
Math - often critical to OpenSCAD design, so sure.
Alternate languages in the OpenSCAD UI, using the OpenSCAD geometry
engines - good question. In the short term I think they're fine; in the
long term... don't know. Dividing into multiple mailing lists makes
sense, but then makes it unclear where UI and geometry-engine
discussions happen. Murkier still if we get cross-language calls.
Whines about how forums are better than e-mail - just go away. Join the
Reddit community https://www.reddit.com/r/openscad/ or the Facebook
community https://www.facebook.com/groups/OpenSCADAcademy or the
Thingiverse community https://www.thingiverse.com/groups/openscad. Or
host your own forum, and by all means ask to be linked from the web
page. Or figure out how to cleanly unite the mailing list with a
forum. But don't expect somebody else do to it for you and don't expect
other people to migrate. Many or most of the active people are here
because they prefer e-mail. If you want to talk to them, you have to be
where they like to hang out.
My 2¢:
Hardware, slicers, non-programmatic design tools - clearly off topic,
but this is a community; it will occasionally have side conversations
and within reason that's OK. Like nophead, I have a delete key, an "n"
key (next unread message), and an "r" key (mark thread as read), and
filters.
BOSL2 and other OpenSCAD libraries - clearly *on* topic, but BOSL2 is a
large enough topic in its own right that perhaps it should get its own
mailing list for more extensive and specialized conversations.
Programmatic design tools, generically (Python tools, AngelCAD, et
cetera) - off topic, but certainly nearby. I wouldn't want WhateverCAD
tech support conversations here, but an occasional "if you're having
problems thinking in OpenSCAD, maybe you would like XXX, here's how it
compares, for more information go over <there>" would, I think, be
entirely appropriate, as would "I just saw this cool feature in YYY, it
works like <this>, maybe we could steal it for OpenSCAD".
Math - often critical to OpenSCAD design, so sure.
Alternate languages in the OpenSCAD UI, using the OpenSCAD geometry
engines - good question. In the short term I think they're fine; in the
long term... don't know. Dividing into multiple mailing lists makes
sense, but then makes it unclear where UI and geometry-engine
discussions happen. Murkier still if we get cross-language calls.
Whines about how forums are better than e-mail - just go away. Join the
Reddit community <https://www.reddit.com/r/openscad/> or the Facebook
community <https://www.facebook.com/groups/OpenSCADAcademy> or the
Thingiverse community <https://www.thingiverse.com/groups/openscad>. Or
host your own forum, and by all means ask to be linked from the web
page. Or figure out how to cleanly unite the mailing list with a
forum. But don't expect somebody else do to it for you and don't expect
other people to migrate. Many or most of the active people are here
because they prefer e-mail. If you want to talk to them, you have to be
where they like to hang out.
ER
edmund ronald
Thu, Aug 17, 2023 9:13 PM
I don't want to whine, I want people to let me ask my questions regardless
of how dumb they are. And you guys don't. You censor topics and opinions
under the pretext that the mail goes out to everybody. If I wanna ask
people how to find the absolute coordinates of a corner, I don't need
anyone here telling me that I've clearly never programmed in my life etc.
Because maybe on a forum, this question won't get shut down subito, and
someone else may tale it up, and then we'll find a way to hack it. Here you
shut down any request you don't like before it can be tackled.
On Thu, Aug 17, 2023 at 10:44 PM Jordan Brown openscad@jordan.maileater.net
wrote:
My 2¢:
Hardware, slicers, non-programmatic design tools - clearly off topic, but
this is a community; it will occasionally have side conversations and
within reason that's OK. Like nophead, I have a delete key, an "n" key
(next unread message), and an "r" key (mark thread as read), and filters.
BOSL2 and other OpenSCAD libraries - clearly on topic, but BOSL2 is a
large enough topic in its own right that perhaps it should get its own
mailing list for more extensive and specialized conversations.
Programmatic design tools, generically (Python tools, AngelCAD, et cetera)
- off topic, but certainly nearby. I wouldn't want WhateverCAD tech
support conversations here, but an occasional "if you're having problems
thinking in OpenSCAD, maybe you would like XXX, here's how it compares, for
more information go over <there>" would, I think, be entirely appropriate,
as would "I just saw this cool feature in YYY, it works like <this>, maybe
we could steal it for OpenSCAD".
Math - often critical to OpenSCAD design, so sure.
Alternate languages in the OpenSCAD UI, using the OpenSCAD geometry
engines - good question. In the short term I think they're fine; in the
long term... don't know. Dividing into multiple mailing lists makes sense,
but then makes it unclear where UI and geometry-engine discussions happen.
Murkier still if we get cross-language calls.
Whines about how forums are better than e-mail - just go away. Join the Reddit
community https://www.reddit.com/r/openscad/ or the Facebook community
https://www.facebook.com/groups/OpenSCADAcademy or the Thingiverse
community https://www.thingiverse.com/groups/openscad. Or host your
own forum, and by all means ask to be linked from the web page. Or figure
out how to cleanly unite the mailing list with a forum. But don't expect
somebody else do to it for you and don't expect other people to migrate.
Many or most of the active people are here because they prefer e-mail. If
you want to talk to them, you have to be where they like to hang out.
OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org
I don't want to whine, I want people to let me ask my questions regardless
of how dumb they are. And you guys don't. You censor topics and opinions
under the pretext that the mail goes out to everybody. If I wanna ask
people how to find the absolute coordinates of a corner, I don't need
anyone here telling me that I've clearly never programmed in my life etc.
Because maybe on a forum, this question won't get shut down subito, and
someone else may tale it up, and then we'll find a way to hack it. Here you
shut down any request you don't like before it can be tackled.
On Thu, Aug 17, 2023 at 10:44 PM Jordan Brown <openscad@jordan.maileater.net>
wrote:
> My 2¢:
>
> Hardware, slicers, non-programmatic design tools - clearly off topic, but
> this is a community; it will occasionally have side conversations and
> within reason that's OK. Like nophead, I have a delete key, an "n" key
> (next unread message), and an "r" key (mark thread as read), and filters.
>
> BOSL2 and other OpenSCAD libraries - clearly *on* topic, but BOSL2 is a
> large enough topic in its own right that perhaps it should get its own
> mailing list for more extensive and specialized conversations.
>
> Programmatic design tools, generically (Python tools, AngelCAD, et cetera)
> - off topic, but certainly nearby. I wouldn't want WhateverCAD tech
> support conversations here, but an occasional "if you're having problems
> thinking in OpenSCAD, maybe you would like XXX, here's how it compares, for
> more information go over <there>" would, I think, be entirely appropriate,
> as would "I just saw this cool feature in YYY, it works like <this>, maybe
> we could steal it for OpenSCAD".
>
> Math - often critical to OpenSCAD design, so sure.
>
> Alternate languages in the OpenSCAD UI, using the OpenSCAD geometry
> engines - good question. In the short term I think they're fine; in the
> long term... don't know. Dividing into multiple mailing lists makes sense,
> but then makes it unclear where UI and geometry-engine discussions happen.
> Murkier still if we get cross-language calls.
>
> Whines about how forums are better than e-mail - just go away. Join the Reddit
> community <https://www.reddit.com/r/openscad/> or the Facebook community
> <https://www.facebook.com/groups/OpenSCADAcademy> or the Thingiverse
> community <https://www.thingiverse.com/groups/openscad>. Or host your
> own forum, and by all means ask to be linked from the web page. Or figure
> out how to cleanly unite the mailing list with a forum. But don't expect
> somebody else do to it for you and don't expect other people to migrate.
> Many or most of the active people are here because they prefer e-mail. If
> you want to talk to them, you have to be where they like to hang out.
> _______________________________________________
> OpenSCAD mailing list
> To unsubscribe send an email to discuss-leave@lists.openscad.org
>
J
jon
Thu, Aug 17, 2023 9:18 PM
edmund:
In general, I find this forum and community to be VERY tolerant of
questions and also very helpful. Your description does not match my
experience.
Jon
On 8/17/2023 5:13 PM, edmund ronald wrote:
I don't want to whine, I want people to let me ask my questions
regardless of how dumb they are. And you guys don't. You censor topics
and opinions under the pretext that the mail goes out to everybody. If
I wanna ask people how to find the absolute coordinates of a corner, I
don't need anyone here telling me that I've clearly never programmed
in my life etc. Because maybe on a forum, this question won't get shut
down subito, and someone else may tale it up, and then we'll find a
way to hack it. Here you shut down any request you don't like before
it can be tackled.
On Thu, Aug 17, 2023 at 10:44 PM Jordan Brown
openscad@jordan.maileater.net wrote:
My 2¢:
Hardware, slicers, non-programmatic design tools - clearly off
topic, but this is a community; it will occasionally have side
conversations and within reason that's OK. Like nophead, I have a
delete key, an "n" key (next unread message), and an "r" key (mark
thread as read), and filters.
BOSL2 and other OpenSCAD libraries - clearly *on* topic, but BOSL2
is a large enough topic in its own right that perhaps it should
get its own mailing list for more extensive and specialized
conversations.
Programmatic design tools, generically (Python tools, AngelCAD, et
cetera) - off topic, but certainly nearby. I wouldn't want
WhateverCAD tech support conversations here, but an occasional "if
you're having problems thinking in OpenSCAD, maybe you would like
XXX, here's how it compares, for more information go over <there>"
would, I think, be entirely appropriate, as would "I just saw this
cool feature in YYY, it works like <this>, maybe we could steal it
for OpenSCAD".
Math - often critical to OpenSCAD design, so sure.
Alternate languages in the OpenSCAD UI, using the OpenSCAD
geometry engines - good question. In the short term I think
they're fine; in the long term... don't know. Dividing into
multiple mailing lists makes sense, but then makes it unclear
where UI and geometry-engine discussions happen. Murkier still if
we get cross-language calls.
Whines about how forums are better than e-mail - just go away.
Join the Reddit community <https://www.reddit.com/r/openscad/> or
the Facebook community
<https://www.facebook.com/groups/OpenSCADAcademy> or the
Thingiverse community
<https://www.thingiverse.com/groups/openscad>. Or host your own
forum, and by all means ask to be linked from the web page. Or
figure out how to cleanly unite the mailing list with a forum.
But don't expect somebody else do to it for you and don't expect
other people to migrate. Many or most of the active people are
here because they prefer e-mail. If you want to talk to them, you
have to be where they like to hang out.
_______________________________________________
OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org
OpenSCAD mailing list
To unsubscribe send an email todiscuss-leave@lists.openscad.org
edmund:
In general, I find this forum and community to be VERY tolerant of
questions and also very helpful. Your description does not match my
experience.
Jon
On 8/17/2023 5:13 PM, edmund ronald wrote:
> I don't want to whine, I want people to let me ask my questions
> regardless of how dumb they are. And you guys don't. You censor topics
> and opinions under the pretext that the mail goes out to everybody. If
> I wanna ask people how to find the absolute coordinates of a corner, I
> don't need anyone here telling me that I've clearly never programmed
> in my life etc. Because maybe on a forum, this question won't get shut
> down subito, and someone else may tale it up, and then we'll find a
> way to hack it. Here you shut down any request you don't like before
> it can be tackled.
>
> On Thu, Aug 17, 2023 at 10:44 PM Jordan Brown
> <openscad@jordan.maileater.net> wrote:
>
> My 2¢:
>
> Hardware, slicers, non-programmatic design tools - clearly off
> topic, but this is a community; it will occasionally have side
> conversations and within reason that's OK. Like nophead, I have a
> delete key, an "n" key (next unread message), and an "r" key (mark
> thread as read), and filters.
>
> BOSL2 and other OpenSCAD libraries - clearly *on* topic, but BOSL2
> is a large enough topic in its own right that perhaps it should
> get its own mailing list for more extensive and specialized
> conversations.
>
> Programmatic design tools, generically (Python tools, AngelCAD, et
> cetera) - off topic, but certainly nearby. I wouldn't want
> WhateverCAD tech support conversations here, but an occasional "if
> you're having problems thinking in OpenSCAD, maybe you would like
> XXX, here's how it compares, for more information go over <there>"
> would, I think, be entirely appropriate, as would "I just saw this
> cool feature in YYY, it works like <this>, maybe we could steal it
> for OpenSCAD".
>
> Math - often critical to OpenSCAD design, so sure.
>
> Alternate languages in the OpenSCAD UI, using the OpenSCAD
> geometry engines - good question. In the short term I think
> they're fine; in the long term... don't know. Dividing into
> multiple mailing lists makes sense, but then makes it unclear
> where UI and geometry-engine discussions happen. Murkier still if
> we get cross-language calls.
>
> Whines about how forums are better than e-mail - just go away.
> Join the Reddit community <https://www.reddit.com/r/openscad/> or
> the Facebook community
> <https://www.facebook.com/groups/OpenSCADAcademy> or the
> Thingiverse community
> <https://www.thingiverse.com/groups/openscad>. Or host your own
> forum, and by all means ask to be linked from the web page. Or
> figure out how to cleanly unite the mailing list with a forum.
> But don't expect somebody else do to it for you and don't expect
> other people to migrate. Many or most of the active people are
> here because they prefer e-mail. If you want to talk to them, you
> have to be where they like to hang out.
> _______________________________________________
> OpenSCAD mailing list
> To unsubscribe send an email to discuss-leave@lists.openscad.org
>
>
> _______________________________________________
> OpenSCAD mailing list
> To unsubscribe send an email todiscuss-leave@lists.openscad.org
JB
Jordan Brown
Thu, Aug 17, 2023 9:37 PM
On 8/17/2023 2:13 PM, edmund ronald wrote:
I don't want to whine, I want people to let me ask my questions
regardless of how dumb they are. And you guys don't. You censor topics
and opinions under the pretext that the mail goes out to everybody. If
I wanna ask people how to find the absolute coordinates of a corner, I
don't need anyone here telling me that I've clearly never programmed
in my life etc. Because maybe on a forum, this question won't get shut
down subito, and someone else may tale it up, and then we'll find a
way to hack it. Here you shut down any request you don't like before
it can be tackled.
Which on-topic question got censored or shut down?
I've answered a lot of questions over the years - some of them dumb, and
some not dumb. So have many others. I can't think of a single time
that a question about OpenSCAD got shut down.
Sometimes the answer is "sorry, there isn't an easy way to do that, and
it wouldn't be easy to add one". That probably isn't the answer that
you want to hear, but sometimes it's the answer. Pretty much anything
about "finding absolute coordinates" will get that answer, because there
(mostly) isn't a way to derive them.
And if somebody else has a better answer for your question, maybe they
will speak up.
None of that is tied to e-mail versus a forum. If anything, e-mail is
more open about it: it's almost impossible to kill an e-mail thread,
while forums typically allow moderators to close discussion topics.
But if you want a forum style interface... go for it. Just don't expect
me to create it for you, and don't expect me to join your forum, because
that's not the style of interface that I want. If you want to talk to
me, you have to talk to me where and how I want to talk - just as if I
wanted your advice, and you hung out on a forum, I'd have to put up with
the forum interface.
On 8/17/2023 2:13 PM, edmund ronald wrote:
> I don't want to whine, I want people to let me ask my questions
> regardless of how dumb they are. And you guys don't. You censor topics
> and opinions under the pretext that the mail goes out to everybody. If
> I wanna ask people how to find the absolute coordinates of a corner, I
> don't need anyone here telling me that I've clearly never programmed
> in my life etc. Because maybe on a forum, this question won't get shut
> down subito, and someone else may tale it up, and then we'll find a
> way to hack it. Here you shut down any request you don't like before
> it can be tackled.
Which on-topic question got censored or shut down?
I've answered a lot of questions over the years - some of them dumb, and
some not dumb. So have many others. I can't think of a single time
that a question about OpenSCAD got shut down.
Sometimes the answer is "sorry, there isn't an easy way to do that, and
it wouldn't be easy to add one". That probably isn't the answer that
you want to hear, but sometimes it's the answer. Pretty much anything
about "finding absolute coordinates" will get that answer, because there
(mostly) isn't a way to derive them.
And if somebody else has a better answer for your question, maybe they
will speak up.
None of that is tied to e-mail versus a forum. If anything, e-mail is
more open about it: it's almost impossible to kill an e-mail thread,
while forums typically allow moderators to close discussion topics.
But if you want a forum style interface... go for it. Just don't expect
me to create it for you, and don't expect me to join your forum, because
that's not the style of interface that I want. If you want to talk to
me, you have to talk to me where and how I want to talk - just as if I
wanted your advice, and you hung out on a forum, I'd have to put up with
the forum interface.
ER
edmund ronald
Thu, Aug 17, 2023 9:54 PM
After being on Arpanet for a while, and more lately on this successor
thingy, even though I don't know much about computers I'm aware that there
is email and other ways to communicate which various people like more
than others. And I'm very happy about that because it means everybody gets
to use their favorite tools. If there were a forum, I would expect it to
have an email gate-through of some sort. The reason I like forums is they
make it easier for most people to disregard stuff, including my whines, and
above all, they allow people to find old questions and replies easily, see
the state of a topic, and reopen it easily.
Regarding the absolute stuff, look I don't know much about 3D printing and
I don't know much about CAD, but I do know that I want to be able to
quickly see roughly what is going to pop out of my printer. I've had to do
horrible calculations to do this in the past, and it would be simpler if
one could just at least eg. have a fake component "pin" type, and one
places it in the design and then it spits out its coordinates into the
debug window when rendered. And then one could figure out some critical
dimensions by looking at where those pins are.
Edmund
On Thu, Aug 17, 2023 at 11:37 PM Jordan Brown openscad@jordan.maileater.net
wrote:
On 8/17/2023 2:13 PM, edmund ronald wrote:
I don't want to whine, I want people to let me ask my questions regardless
of how dumb they are. And you guys don't. You censor topics and opinions
under the pretext that the mail goes out to everybody. If I wanna ask
people how to find the absolute coordinates of a corner, I don't need
anyone here telling me that I've clearly never programmed in my life etc.
Because maybe on a forum, this question won't get shut down subito, and
someone else may tale it up, and then we'll find a way to hack it. Here you
shut down any request you don't like before it can be tackled.
Which on-topic question got censored or shut down?
I've answered a lot of questions over the years - some of them dumb, and
some not dumb. So have many others. I can't think of a single time that a
question about OpenSCAD got shut down.
Sometimes the answer is "sorry, there isn't an easy way to do that, and it
wouldn't be easy to add one". That probably isn't the answer that you want
to hear, but sometimes it's the answer. Pretty much anything about
"finding absolute coordinates" will get that answer, because there (mostly)
isn't a way to derive them.
And if somebody else has a better answer for your question, maybe they
will speak up.
None of that is tied to e-mail versus a forum. If anything, e-mail is
more open about it: it's almost impossible to kill an e-mail thread, while
forums typically allow moderators to close discussion topics.
But if you want a forum style interface... go for it. Just don't expect
me to create it for you, and don't expect me to join your forum, because
that's not the style of interface that I want. If you want to talk to me,
you have to talk to me where and how I want to talk - just as if I wanted
your advice, and you hung out on a forum, I'd have to put up with the forum
interface.
After being on Arpanet for a while, and more lately on this successor
thingy, even though I don't know much about computers I'm aware that there
is email and other ways to communicate which various people like more
than others. And I'm very happy about that because it means everybody gets
to use their favorite tools. If there were a forum, I would expect it to
have an email gate-through of some sort. The reason I like forums is they
make it easier for most people to disregard stuff, including my whines, and
above all, they allow people to find old questions and replies easily, see
the state of a topic, and reopen it easily.
Regarding the absolute stuff, look I don't know much about 3D printing and
I don't know much about CAD, but I do know that I want to be able to
quickly see roughly what is going to pop out of my printer. I've had to do
horrible calculations to do this in the past, and it would be simpler if
one could just at least eg. have a fake component "pin" type, and one
places it in the design and then it spits out its coordinates into the
debug window when rendered. And then one could figure out some critical
dimensions by looking at where those pins are.
Edmund
On Thu, Aug 17, 2023 at 11:37 PM Jordan Brown <openscad@jordan.maileater.net>
wrote:
> On 8/17/2023 2:13 PM, edmund ronald wrote:
>
> I don't want to whine, I want people to let me ask my questions regardless
> of how dumb they are. And you guys don't. You censor topics and opinions
> under the pretext that the mail goes out to everybody. If I wanna ask
> people how to find the absolute coordinates of a corner, I don't need
> anyone here telling me that I've clearly never programmed in my life etc.
> Because maybe on a forum, this question won't get shut down subito, and
> someone else may tale it up, and then we'll find a way to hack it. Here you
> shut down any request you don't like before it can be tackled.
>
>
> Which on-topic question got censored or shut down?
>
> I've answered a lot of questions over the years - some of them dumb, and
> some not dumb. So have many others. I can't think of a single time that a
> question about OpenSCAD got shut down.
>
> Sometimes the answer is "sorry, there isn't an easy way to do that, and it
> wouldn't be easy to add one". That probably isn't the answer that you want
> to hear, but sometimes it's the answer. Pretty much anything about
> "finding absolute coordinates" will get that answer, because there (mostly)
> isn't a way to derive them.
>
> And if somebody else has a better answer for your question, maybe they
> will speak up.
>
> None of that is tied to e-mail versus a forum. If anything, e-mail is
> more open about it: it's almost impossible to kill an e-mail thread, while
> forums typically allow moderators to close discussion topics.
>
> But if you want a forum style interface... go for it. Just don't expect
> me to create it for you, and don't expect me to join your forum, because
> that's not the style of interface that I want. If you want to talk to me,
> you have to talk to me where and how I want to talk - just as if I wanted
> your advice, and you hung out on a forum, I'd have to put up with the forum
> interface.
>
>
JB
Jordan Brown
Thu, Aug 17, 2023 11:07 PM
On 8/17/2023 2:54 PM, edmund ronald wrote:
After being on Arpanet for a while, and more lately on this successor
thingy, even though I don't know much about computers I'm aware that
there is email and other ways to communicate which various people
like more than others. And I'm very happy about that because it means
everybody gets to use their favorite tools. If there were a forum, I
would expect it to have an email gate-through of some sort. The reason
I like forums is they make it easier for most people to disregard
stuff, including my whines, and above all, they allow people to find
old questions and replies easily, see the state of a topic, and reopen
it easily.
Great. You like forums. I don't like forums.
A forum-email gateway would be fine (as long as the result on the email
side isn't awful, as many are).
Now, who is going to set up that gateway, and maintain it? Remember
that nobody here is a paying customer, and nobody here is a paid
employee. We all do stuff because we're interested in it, and
occasionally out of the goodness of our hearts. Most people have only
limited time available, and so need to pick and choose which projects
they take on.
If you want a forum-email gateway... great. Set one up. Maintain it.
Pay for it, if necessary. If it's workable, the nice folks who maintain
openscad.org would likely be happy to work with you to host it there.
But don't expect them to do the work to find one, set it up, and
maintain it. They're volunteers, and they have other projects they want
to work on.
Regarding the absolute stuff, look I don't know much about 3D printing
and I don't know much about CAD, but I do know that I want to be able
to quickly see roughly what is going to pop out of my printer. I've
had to do horrible calculations to do this in the past, and it would
be simpler if one could just at least eg. have a fake component "pin"
type, and one places it in the design and then it spits out its
coordinates into the debug window when rendered. And then one could
figure out some critical dimensions by looking at where those pins are.
Yes, it's sometimes a pain in the neck that you can't do that. But
agreeing that it's a pain in the neck doesn't make it any easier to
implement.
This is a variation on the "measure the distance between two points"
request. I've thought about it a bit, and except in special cases I
can't see how to do it. You can't do it inside the language because
information doesn't flow that way in the language; there is no way to
get information out of a module. You can't do it in the UI, because the
previewer is absolute black magic and doesn't actually know what points
are in front, what points are hidden, and what points don't exist at all
because they've been intersected or differenced away. (And even with a
rendered model, it's not easy to find a point on the model corresponding
to a click.) You can't even do it with a pin like you describe, because
at the time that a particular node is rendered it doesn't know where it
will be translated or how it will be rotated or scaled. If you
accepted some restrictions, you could carry the transformation
information down into lower nodes, but the result would be a thoroughly
unsatisfying user experience - the user would have to consume the raw
coordinates and do the distance math themselves. (Restrictions:
wouldn't be meaningful inside an extrusion or, I think, the second child
of a minkowski. If my geometry-object work ever goes in, it wouldn't be
able to penetrate that barrier, because it divorces the execution
context from the transformation context.)
If you're interested in some thoughts on the subject, and a
demonstration of some related tricks, you can look at
https://lists.openscad.org/empathy/thread/IUPFIPEISP2XYU3SRVFWG54TLGSXMWOT
So why hasn't anybody turned that into a built-in OpenSCAD feature?
Because nobody has been interested in doing it, especially given the
resulting poor user experience. (I couldn't, with a straight face, call
it a solution to the "measure distance" problem.) All volunteers,
working on projects that interest them, remember?
On 8/17/2023 2:54 PM, edmund ronald wrote:
> After being on Arpanet for a while, and more lately on this successor
> thingy, even though I don't know much about computers I'm aware that
> there is email and other ways to communicate which various people
> like more than others. And I'm very happy about that because it means
> everybody gets to use their favorite tools. If there were a forum, I
> would expect it to have an email gate-through of some sort. The reason
> I like forums is they make it easier for most people to disregard
> stuff, including my whines, and above all, they allow people to find
> old questions and replies easily, see the state of a topic, and reopen
> it easily.
Great. You like forums. I don't like forums.
A forum-email gateway would be fine (as long as the result on the email
side isn't awful, as many are).
Now, who is going to set up that gateway, and maintain it? Remember
that nobody here is a paying customer, and nobody here is a paid
employee. We all do stuff because we're interested in it, and
occasionally out of the goodness of our hearts. Most people have only
limited time available, and so need to pick and choose which projects
they take on.
If you want a forum-email gateway... great. Set one up. Maintain it.
Pay for it, if necessary. If it's workable, the nice folks who maintain
openscad.org would likely be happy to work with you to host it there.
But don't expect them to do the work to find one, set it up, and
maintain it. They're volunteers, and they have other projects they want
to work on.
> Regarding the absolute stuff, look I don't know much about 3D printing
> and I don't know much about CAD, but I do know that I want to be able
> to quickly see roughly what is going to pop out of my printer. I've
> had to do horrible calculations to do this in the past, and it would
> be simpler if one could just at least eg. have a fake component "pin"
> type, and one places it in the design and then it spits out its
> coordinates into the debug window when rendered. And then one could
> figure out some critical dimensions by looking at where those pins are.
>
Yes, it's sometimes a pain in the neck that you can't do that. But
agreeing that it's a pain in the neck doesn't make it any easier to
implement.
This is a variation on the "measure the distance between two points"
request. I've thought about it a bit, and except in special cases I
can't see how to do it. You can't do it inside the language because
information doesn't flow that way in the language; there is no way to
get information out of a module. You can't do it in the UI, because the
previewer is absolute black magic and doesn't actually know what points
are in front, what points are hidden, and what points don't exist at all
because they've been intersected or differenced away. (And even with a
rendered model, it's not easy to find a point on the model corresponding
to a click.) You can't even do it with a pin like you describe, because
at the time that a particular node is rendered *it doesn't know where it
will be translated or how it will be rotated or scaled*. If you
accepted some restrictions, you could carry the transformation
information down into lower nodes, but the result would be a thoroughly
unsatisfying user experience - the user would have to consume the raw
coordinates and do the distance math themselves. (Restrictions:
wouldn't be meaningful inside an extrusion or, I think, the second child
of a minkowski. If my geometry-object work ever goes in, it wouldn't be
able to penetrate that barrier, because it divorces the execution
context from the transformation context.)
If you're interested in some thoughts on the subject, and a
demonstration of some related tricks, you can look at
https://lists.openscad.org/empathy/thread/IUPFIPEISP2XYU3SRVFWG54TLGSXMWOT
So why hasn't anybody turned that into a built-in OpenSCAD feature?
Because nobody has been interested in doing it, especially given the
resulting poor user experience. (I couldn't, with a straight face, call
it a solution to the "measure distance" problem.) All volunteers,
working on projects that interest them, remember?
ER
edmund ronald
Thu, Aug 17, 2023 11:29 PM
Thank you for the interesting link. However, assuming my small pin is
"vividred" in color, when I render the file into stl, I can locate the
"vividred" rice grain point inside the model and thereby know its
position? Or maybe just project the model in 2d, and find the point thusly?
In other words, can't OpenSCAD cause something to be written into the
export file which itself is I would assume of necessity in real physical
coordinates?
On Fri, Aug 18, 2023 at 1:07 AM Jordan Brown openscad@jordan.maileater.net
wrote:
On 8/17/2023 2:54 PM, edmund ronald wrote:
After being on Arpanet for a while, and more lately on this successor
thingy, even though I don't know much about computers I'm aware that there
is email and other ways to communicate which various people like more
than others. And I'm very happy about that because it means everybody gets
to use their favorite tools. If there were a forum, I would expect it to
have an email gate-through of some sort. The reason I like forums is they
make it easier for most people to disregard stuff, including my whines, and
above all, they allow people to find old questions and replies easily, see
the state of a topic, and reopen it easily.
Great. You like forums. I don't like forums.
A forum-email gateway would be fine (as long as the result on the email
side isn't awful, as many are).
Now, who is going to set up that gateway, and maintain it? Remember that
nobody here is a paying customer, and nobody here is a paid employee. We
all do stuff because we're interested in it, and occasionally out of the
goodness of our hearts. Most people have only limited time available, and
so need to pick and choose which projects they take on.
If you want a forum-email gateway... great. Set one up. Maintain it.
Pay for it, if necessary. If it's workable, the nice folks who maintain
openscad.org would likely be happy to work with you to host it there.
But don't expect them to do the work to find one, set it up, and maintain
it. They're volunteers, and they have other projects they want to work on.
Regarding the absolute stuff, look I don't know much about 3D printing and
I don't know much about CAD, but I do know that I want to be able to
quickly see roughly what is going to pop out of my printer. I've had to do
horrible calculations to do this in the past, and it would be simpler if
one could just at least eg. have a fake component "pin" type, and one
places it in the design and then it spits out its coordinates into the
debug window when rendered. And then one could figure out some critical
dimensions by looking at where those pins are.
Yes, it's sometimes a pain in the neck that you can't do that. But
agreeing that it's a pain in the neck doesn't make it any easier to
implement.
This is a variation on the "measure the distance between two points"
request. I've thought about it a bit, and except in special cases I can't
see how to do it. You can't do it inside the language because information
doesn't flow that way in the language; there is no way to get information
out of a module. You can't do it in the UI, because the previewer is
absolute black magic and doesn't actually know what points are in front,
what points are hidden, and what points don't exist at all because they've
been intersected or differenced away. (And even with a rendered model,
it's not easy to find a point on the model corresponding to a click.) You
can't even do it with a pin like you describe, because at the time that a
particular node is rendered it doesn't know where it will be translated or
how it will be rotated or scaled. If you accepted some restrictions, you
could carry the transformation information down into lower nodes, but the
result would be a thoroughly unsatisfying user experience - the user would
have to consume the raw coordinates and do the distance math themselves.
(Restrictions: wouldn't be meaningful inside an extrusion or, I think, the
second child of a minkowski. If my geometry-object work ever goes in, it
wouldn't be able to penetrate that barrier, because it divorces the
execution context from the transformation context.)
If you're interested in some thoughts on the subject, and a demonstration
of some related tricks, you can look at
https://lists.openscad.org/empathy/thread/IUPFIPEISP2XYU3SRVFWG54TLGSXMWOT
So why hasn't anybody turned that into a built-in OpenSCAD feature?
Because nobody has been interested in doing it, especially given the
resulting poor user experience. (I couldn't, with a straight face, call it
a solution to the "measure distance" problem.) All volunteers, working on
projects that interest them, remember?
Thank you for the interesting link. However, assuming my small pin is
"vividred" in color, when I render the file into stl, I can locate the
"vividred" rice grain point inside the model and thereby know its
position? Or maybe just project the model in 2d, and find the point thusly?
In other words, can't OpenSCAD cause something to be written into the
export file which itself is I would assume of necessity in real physical
coordinates?
On Fri, Aug 18, 2023 at 1:07 AM Jordan Brown <openscad@jordan.maileater.net>
wrote:
> On 8/17/2023 2:54 PM, edmund ronald wrote:
>
> After being on Arpanet for a while, and more lately on this successor
> thingy, even though I don't know much about computers I'm aware that there
> is email and other ways to communicate which various people like more
> than others. And I'm very happy about that because it means everybody gets
> to use their favorite tools. If there were a forum, I would expect it to
> have an email gate-through of some sort. The reason I like forums is they
> make it easier for most people to disregard stuff, including my whines, and
> above all, they allow people to find old questions and replies easily, see
> the state of a topic, and reopen it easily.
>
>
> Great. You like forums. I don't like forums.
>
> A forum-email gateway would be fine (as long as the result on the email
> side isn't awful, as many are).
>
> Now, who is going to set up that gateway, and maintain it? Remember that
> nobody here is a paying customer, and nobody here is a paid employee. We
> all do stuff because we're interested in it, and occasionally out of the
> goodness of our hearts. Most people have only limited time available, and
> so need to pick and choose which projects they take on.
>
> If you want a forum-email gateway... great. Set one up. Maintain it.
> Pay for it, if necessary. If it's workable, the nice folks who maintain
> openscad.org would likely be happy to work with you to host it there.
> But don't expect them to do the work to find one, set it up, and maintain
> it. They're volunteers, and they have other projects they want to work on.
>
> Regarding the absolute stuff, look I don't know much about 3D printing and
> I don't know much about CAD, but I do know that I want to be able to
> quickly see roughly what is going to pop out of my printer. I've had to do
> horrible calculations to do this in the past, and it would be simpler if
> one could just at least eg. have a fake component "pin" type, and one
> places it in the design and then it spits out its coordinates into the
> debug window when rendered. And then one could figure out some critical
> dimensions by looking at where those pins are.
>
>
> Yes, it's sometimes a pain in the neck that you can't do that. But
> agreeing that it's a pain in the neck doesn't make it any easier to
> implement.
>
> This is a variation on the "measure the distance between two points"
> request. I've thought about it a bit, and except in special cases I can't
> see how to do it. You can't do it inside the language because information
> doesn't flow that way in the language; there is no way to get information
> out of a module. You can't do it in the UI, because the previewer is
> absolute black magic and doesn't actually know what points are in front,
> what points are hidden, and what points don't exist at all because they've
> been intersected or differenced away. (And even with a rendered model,
> it's not easy to find a point on the model corresponding to a click.) You
> can't even do it with a pin like you describe, because at the time that a
> particular node is rendered *it doesn't know where it will be translated or
> how it will be rotated or scaled*. If you accepted some restrictions, you
> could carry the transformation information down into lower nodes, but the
> result would be a thoroughly unsatisfying user experience - the user would
> have to consume the raw coordinates and do the distance math themselves.
> (Restrictions: wouldn't be meaningful inside an extrusion or, I think, the
> second child of a minkowski. If my geometry-object work ever goes in, it
> wouldn't be able to penetrate that barrier, because it divorces the
> execution context from the transformation context.)
>
> If you're interested in some thoughts on the subject, and a demonstration
> of some related tricks, you can look at
> https://lists.openscad.org/empathy/thread/IUPFIPEISP2XYU3SRVFWG54TLGSXMWOT
>
> So why hasn't anybody turned that into a built-in OpenSCAD feature?
> Because nobody has been interested in doing it, especially given the
> resulting poor user experience. (I couldn't, with a straight face, call it
> a solution to the "measure distance" problem.) All volunteers, working on
> projects that interest them, remember?
>
JB
Jordan Brown
Thu, Aug 17, 2023 11:56 PM
On 8/17/2023 4:29 PM, edmund ronald wrote:
Thank you for the interesting link. However, assuming my small pin is
"vividred" in color, when I render the file into stl, I can locate the
"vividred" rice grain point inside the model and thereby know its
position? Or maybe just project the model in 2d, and find the point
thusly? In other words, can't OpenSCAD cause something to be written
into the export file which itself is I would assume of necessity in
real physical coordinates?
If STL could represent color, and if OpenSCAD could render with color,
maybe. But alas STL does not represent color, and OpenSCAD cannot
currently render with color, even for export into a format that supports
it. There's a fair amount of interest in color rendering in support of
multicolor printing, but it's hard enough that I'm not even aware of any
experimental builds that do it. (Not that I would necessarily know.)
You might like to hang a tidbit of information on a vertex and have that
tidbit follow it out to the export, but even if the export format
supported such auxiliary information (STL doesn't), that would be a lot
of plumbing through some pretty black boxes. I don't know enough about
CGAL to know for sure, but my bet is that there's no way to get it to
carry such a tag through its processing.
The way that I "solve" this problem is to have a module that generates a
yardstick, and position it where I need it in my model. That's a
terrible solution, but it's been close enough for my needs.
On 8/17/2023 4:29 PM, edmund ronald wrote:
> Thank you for the interesting link. However, assuming my small pin is
> "vividred" in color, when I render the file into stl, I can locate the
> "vividred" rice grain point inside the model and thereby know its
> position? Or maybe just project the model in 2d, and find the point
> thusly? In other words, can't OpenSCAD cause something to be written
> into the export file which itself is I would assume of necessity in
> real physical coordinates?
If STL could represent color, and if OpenSCAD could render with color,
maybe. But alas STL does not represent color, and OpenSCAD cannot
currently render with color, even for export into a format that supports
it. There's a fair amount of interest in color rendering in support of
multicolor printing, but it's hard enough that I'm not even aware of any
experimental builds that do it. (Not that I would necessarily know.)
You might like to hang a tidbit of information on a vertex and have that
tidbit follow it out to the export, but even if the export format
supported such auxiliary information (STL doesn't), that would be a lot
of plumbing through some pretty black boxes. I don't know enough about
CGAL to know for sure, but my bet is that there's no way to get it to
carry such a tag through its processing.
The way that I "solve" this problem is to have a module that generates a
yardstick, and position it where I need it in my model. That's a
terrible solution, but it's been close enough for my needs.