GS
Guenther Sohler
Tue, Jan 16, 2024 7:20 AM
Are you using Cadquery in Linux or in Windows ?
I tried to install cadquery i the past, but there were actually quite many
stumbling stones lying in the way and I ended up in dependency issues with
anaconda/et cetera which I could not solve.
Can you point me to the instructions which helped you to succeed ?(is it
windows or linux ?)
BTW: I have seen a tetris animation in youtube lately which is by nero
engineering. is it from you ? is it a life channel rather than a video ?
On Tue, Jan 16, 2024 at 8:09 AM neri-engineering via Discuss <
discuss@lists.openscad.org> wrote:
CadQuery is very powerful; it's for the power user, much like UNIX can be
compared to Windows. A power user who does not fear learning things would
always gravitate towards UNIX or a UNIX-like system (even MacOS I suppose).
Yes you're right, the installation of CadQuery and of cq-editor was a bit
more difficult than is typical, and it's because these tools live in
"Python world" which needs to know how to load libs etc. That's why they
have tools such as conda, anaconda, mambaforge, etc. to handle library
dependencies and library installations. Even I was not an expert in Python
but I was able to install these tools after careful reading and a few trial
and error steps. Yes it took a couple of hours in my case as well.
I still do like OpenSCAD, but for me it's crucial to have a tool that
generates STEP files for CNC machining at my disposal. This is why I had
to look beyond just OpenSCAD. Furthermore I'm very repulsed with the idea
of using graphical user interfaces to create parts that are very similar to
each other, with minor differences in between. In other words having a
language with which to "program parts" is very agreeable with me; this is
exactly what drew me to OpenSCAD initially.
Because CadQuery uses a B-rep lib as its backend, things like "shelling",
"fillet", or even "chamfer" are built-ins. In other words smoothing things
is easy; it's part of the backend library. These are frequently discussed
topics on this forum. 'Helix' and other complex operations are also
built-ins. Yes there is a learning curve with the extensive API, but once
you start working on simple examples it becomes clearer and clearer. STL
can be generated by CadQuery.
Well here is an example. Threads for screws are very easy to program.
With about 300 lines of code I was able to write a complete thread library
in two days, which generates both internal and external threads, with many
options. (Now of course I will be maintaining it when I find bugs, which
is expected because I'm using this in all of my projects.)
If you are interested in trying the thread generation code, it is here:
https://sourceforge.net/p/nl10/code/HEAD/tree/cq-code/common/metric_threads.py
If you add these few lines of code
show_object(internal_metric_thread(diameter=3.0,
pitch=0.5,
length=2.0,
bottom_chamfer=True,
base_tube_od=3.5))
to the bottom of thread lib linked above, opening in cq-editor will get
you this:
[image: threads.png]
Cheers.
Sent with Proton Mail https://proton.me/ secure email.
On Monday, January 15th, 2024 at 9:15 PM, Leonard Martin Struttmann via
Discuss discuss@lists.openscad.org wrote:
UPDATE: So I finally got CadQuery/CQ-editor installed and spent about
three hours playing with it today to design a simple part.
Conclusion: I will probably NOT be switching over to CadQuery.
I found the user interface to be clunky, and the editor is very basic with
little in the way of preferences.
CadQuery is very flexible, but flexibility breeds complexity. The learning
curve is very steep.
In practice, I found it to work just as if you were documenting each step
you would take if you were using a drawing program such as TinkerCAD,
FreeCADD, etc. For simple parts, each line of code (or each layer in the
stack of functions) corresponds with a similar action on a drawing program:
Select a plane, do some 2D drawing, then cut or extrude, select some edges,
apply chamfer/fillets, and then repeat.
The devil is in the details and in understanding what is going on under
the hood (bonnet). For example, I could extrude a regular polygon, but I
could not extrude a polyline (created from a list of points). After much
searching, I found that one must use the .close() function between the
polyline and the extrude.
Of course, your mileage may vary and if you are transitioning from a
drawing program you may find it easier than this old guy.
End of report.
On Mon, Jan 15, 2024 at 7:44 AM jon via Discuss <
discuss@lists.openscad.org> wrote:
Great. Not so privately. Sigh.
When Reply does not mean Reply.
On 1/15/2024 8:39 AM, jon via Discuss wrote:
Privately.
Would your code eventually be able to replace MeshCAM?
Jon
On 1/14/2024 10:16 PM, William F. Adams via Discuss wrote:
I tried CadQuery a while back --- it was confusing because they were just
transitioning from being a workbench in FreeCAD (which I was hopeful of) to
being a stand-alone project (which I found off-putting and which lacked the
synergy w/ a graphical program I was hoping for).
Agree that there was a striking absence of example files/code, and the
ones which I could find seemed arcane and confusing in how they were coded.
The nascent effort to put Python into OpenSCAD has been a lot more
approachable to me:
http://pythonscad.org/
https://github.com/openscad/openscad/issues/4880
(but I don't know if anyone would want to do anything the way I do it:
https://github.com/WillAdams/gcodepreview )
William
--
Sphinx of black quartz, judge my vow.
https://designinto3d.com/
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
Are you using Cadquery in Linux or in Windows ?
I tried to install cadquery i the past, but there were actually quite many
stumbling stones lying in the way and I ended up in dependency issues with
anaconda/et cetera which I could not solve.
Can you point me to the instructions which helped you to succeed ?(is it
windows or linux ?)
BTW: I have seen a tetris animation in youtube lately which is by nero
engineering. is it from you ? is it a life channel rather than a video ?
On Tue, Jan 16, 2024 at 8:09 AM neri-engineering via Discuss <
discuss@lists.openscad.org> wrote:
> CadQuery is very powerful; it's for the power user, much like UNIX can be
> compared to Windows. A power user who does not fear learning things would
> always gravitate towards UNIX or a UNIX-like system (even MacOS I suppose).
>
> Yes you're right, the installation of CadQuery and of cq-editor was a bit
> more difficult than is typical, and it's because these tools live in
> "Python world" which needs to know how to load libs etc. That's why they
> have tools such as conda, anaconda, mambaforge, etc. to handle library
> dependencies and library installations. Even I was not an expert in Python
> but I was able to install these tools after careful reading and a few trial
> and error steps. Yes it took a couple of hours in my case as well.
>
> I still do like OpenSCAD, but for me it's crucial to have a tool that
> generates STEP files for CNC machining at my disposal. This is why I had
> to look beyond just OpenSCAD. Furthermore I'm very repulsed with the idea
> of using graphical user interfaces to create parts that are very similar to
> each other, with minor differences in between. In other words having a
> language with which to "program parts" is very agreeable with me; this is
> exactly what drew me to OpenSCAD initially.
>
> Because CadQuery uses a B-rep lib as its backend, things like "shelling",
> "fillet", or even "chamfer" are built-ins. In other words smoothing things
> is easy; it's part of the backend library. These are frequently discussed
> topics on this forum. 'Helix' and other complex operations are also
> built-ins. Yes there is a learning curve with the extensive API, but once
> you start working on simple examples it becomes clearer and clearer. STL
> can be generated by CadQuery.
>
> Well here is an example. Threads for screws are very easy to program.
> With about 300 lines of code I was able to write a complete thread library
> in two days, which generates both internal and external threads, with many
> options. (Now of course I will be maintaining it when I find bugs, which
> is expected because I'm using this in all of my projects.)
>
> If you are interested in trying the thread generation code, it is here:
>
>
> https://sourceforge.net/p/nl10/code/HEAD/tree/cq-code/common/metric_threads.py
>
> If you add these few lines of code
>
> show_object(internal_metric_thread(diameter=3.0,
> pitch=0.5,
> length=2.0,
> bottom_chamfer=True,
> base_tube_od=3.5))
>
> to the bottom of thread lib linked above, opening in cq-editor will get
> you this:
>
> [image: threads.png]
>
> Cheers.
>
> Sent with Proton Mail <https://proton.me/> secure email.
>
> On Monday, January 15th, 2024 at 9:15 PM, Leonard Martin Struttmann via
> Discuss <discuss@lists.openscad.org> wrote:
>
> UPDATE: So I finally got CadQuery/CQ-editor installed and spent about
> three hours playing with it today to design a simple part.
>
> Conclusion: I will probably NOT be switching over to CadQuery.
>
> I found the user interface to be clunky, and the editor is very basic with
> little in the way of preferences.
>
> CadQuery is very flexible, but flexibility breeds complexity. The learning
> curve is very steep.
>
> In practice, I found it to work just as if you were documenting each step
> you would take if you were using a drawing program such as TinkerCAD,
> FreeCADD, etc. For simple parts, each line of code (or each layer in the
> stack of functions) corresponds with a similar action on a drawing program:
> Select a plane, do some 2D drawing, then cut or extrude, select some edges,
> apply chamfer/fillets, and then repeat.
>
> The devil is in the details and in understanding what is going on under
> the hood (bonnet). For example, I could extrude a regular polygon, but I
> could not extrude a polyline (created from a list of points). After much
> searching, I found that one must use the .close() function between the
> polyline and the extrude.
>
> Of course, your mileage may vary and if you are transitioning from a
> drawing program you may find it easier than this old guy.
>
> End of report.
>
>
> On Mon, Jan 15, 2024 at 7:44 AM jon via Discuss <
> discuss@lists.openscad.org> wrote:
>
>> Great. Not so privately. Sigh.
>>
>> When Reply does not mean Reply.
>>
>>
>> On 1/15/2024 8:39 AM, jon via Discuss wrote:
>>
>> Privately.
>>
>> Would your code eventually be able to replace MeshCAM?
>>
>> Jon
>>
>>
>> On 1/14/2024 10:16 PM, William F. Adams via Discuss wrote:
>>
>> I tried CadQuery a while back --- it was confusing because they were just
>> transitioning from being a workbench in FreeCAD (which I was hopeful of) to
>> being a stand-alone project (which I found off-putting and which lacked the
>> synergy w/ a graphical program I was hoping for).
>>
>> Agree that there was a striking absence of example files/code, and the
>> ones which I could find seemed arcane and confusing in how they were coded.
>>
>> The nascent effort to put Python into OpenSCAD has been a lot more
>> approachable to me:
>>
>> http://pythonscad.org/
>>
>> https://github.com/openscad/openscad/issues/4880
>>
>> (but I don't know if anyone would want to do anything the way I do it:
>> https://github.com/WillAdams/gcodepreview )
>>
>> William
>>
>> --
>> Sphinx of black quartz, judge my vow.
>> https://designinto3d.com/
>>
>> _______________________________________________
>> 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
>
ER
edmund ronald
Tue, Jan 16, 2024 7:53 AM
Smoothing, fillets etc are a standard problem in OpenScad, and a real issue
for normal users.
I personally have given up on hoping for improvements here because of the
"You are an idiot if you don't know how to do this" attitude of the
maintainers.
Edmund
In case it hasn't been posted, here is what seems to be the current the
CadQuery github page
https://github.com/CadQuery/cadquery
there is also a GUI, and apparently CadQuery also runs in Jupyter which is
the standard tool for interactive development in the Python world.
https://github.com/CadQuery/cadquery
Installation etc looks standard, and I wouldn't expect any issues if you
use Python daily.
On Tue, Jan 16, 2024 at 8:21 AM Guenther Sohler via Discuss <
discuss@lists.openscad.org> wrote:
Are you using Cadquery in Linux or in Windows ?
I tried to install cadquery i the past, but there were actually quite many
stumbling stones lying in the way and I ended up in dependency issues with
anaconda/et cetera which I could not solve.
Can you point me to the instructions which helped you to succeed ?(is it
windows or linux ?)
BTW: I have seen a tetris animation in youtube lately which is by nero
engineering. is it from you ? is it a life channel rather than a video ?
On Tue, Jan 16, 2024 at 8:09 AM neri-engineering via Discuss <
discuss@lists.openscad.org> wrote:
CadQuery is very powerful; it's for the power user, much like UNIX can be
compared to Windows. A power user who does not fear learning things would
always gravitate towards UNIX or a UNIX-like system (even MacOS I suppose).
Yes you're right, the installation of CadQuery and of cq-editor was a bit
more difficult than is typical, and it's because these tools live in
"Python world" which needs to know how to load libs etc. That's why they
have tools such as conda, anaconda, mambaforge, etc. to handle library
dependencies and library installations. Even I was not an expert in Python
but I was able to install these tools after careful reading and a few trial
and error steps. Yes it took a couple of hours in my case as well.
I still do like OpenSCAD, but for me it's crucial to have a tool that
generates STEP files for CNC machining at my disposal. This is why I had
to look beyond just OpenSCAD. Furthermore I'm very repulsed with the idea
of using graphical user interfaces to create parts that are very similar to
each other, with minor differences in between. In other words having a
language with which to "program parts" is very agreeable with me; this is
exactly what drew me to OpenSCAD initially.
Because CadQuery uses a B-rep lib as its backend, things like "shelling",
"fillet", or even "chamfer" are built-ins. In other words smoothing things
is easy; it's part of the backend library. These are frequently discussed
topics on this forum. 'Helix' and other complex operations are also
built-ins. Yes there is a learning curve with the extensive API, but once
you start working on simple examples it becomes clearer and clearer. STL
can be generated by CadQuery.
Well here is an example. Threads for screws are very easy to program.
With about 300 lines of code I was able to write a complete thread library
in two days, which generates both internal and external threads, with many
options. (Now of course I will be maintaining it when I find bugs, which
is expected because I'm using this in all of my projects.)
If you are interested in trying the thread generation code, it is here:
https://sourceforge.net/p/nl10/code/HEAD/tree/cq-code/common/metric_threads.py
If you add these few lines of code
show_object(internal_metric_thread(diameter=3.0,
pitch=0.5,
length=2.0,
bottom_chamfer=True,
base_tube_od=3.5))
to the bottom of thread lib linked above, opening in cq-editor will get
you this:
[image: threads.png]
Cheers.
Sent with Proton Mail https://proton.me/ secure email.
On Monday, January 15th, 2024 at 9:15 PM, Leonard Martin Struttmann via
Discuss discuss@lists.openscad.org wrote:
UPDATE: So I finally got CadQuery/CQ-editor installed and spent about
three hours playing with it today to design a simple part.
Conclusion: I will probably NOT be switching over to CadQuery.
I found the user interface to be clunky, and the editor is very basic
with little in the way of preferences.
CadQuery is very flexible, but flexibility breeds complexity. The
learning curve is very steep.
In practice, I found it to work just as if you were documenting each step
you would take if you were using a drawing program such as TinkerCAD,
FreeCADD, etc. For simple parts, each line of code (or each layer in the
stack of functions) corresponds with a similar action on a drawing program:
Select a plane, do some 2D drawing, then cut or extrude, select some edges,
apply chamfer/fillets, and then repeat.
The devil is in the details and in understanding what is going on under
the hood (bonnet). For example, I could extrude a regular polygon, but I
could not extrude a polyline (created from a list of points). After much
searching, I found that one must use the .close() function between the
polyline and the extrude.
Of course, your mileage may vary and if you are transitioning from a
drawing program you may find it easier than this old guy.
End of report.
On Mon, Jan 15, 2024 at 7:44 AM jon via Discuss <
discuss@lists.openscad.org> wrote:
Great. Not so privately. Sigh.
When Reply does not mean Reply.
On 1/15/2024 8:39 AM, jon via Discuss wrote:
Privately.
Would your code eventually be able to replace MeshCAM?
Jon
On 1/14/2024 10:16 PM, William F. Adams via Discuss wrote:
I tried CadQuery a while back --- it was confusing because they were
just transitioning from being a workbench in FreeCAD (which I was hopeful
of) to being a stand-alone project (which I found off-putting and which
lacked the synergy w/ a graphical program I was hoping for).
Agree that there was a striking absence of example files/code, and the
ones which I could find seemed arcane and confusing in how they were coded.
The nascent effort to put Python into OpenSCAD has been a lot more
approachable to me:
http://pythonscad.org/
https://github.com/openscad/openscad/issues/4880
(but I don't know if anyone would want to do anything the way I do it:
https://github.com/WillAdams/gcodepreview )
William
--
Sphinx of black quartz, judge my vow.
https://designinto3d.com/
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
Smoothing, fillets etc are a standard problem in OpenScad, and a real issue
for normal users.
I personally have given up on hoping for improvements here because of the
"You are an idiot if you don't know how to do this" attitude of the
maintainers.
Edmund
In case it hasn't been posted, here is what seems to be the current the
CadQuery github page
https://github.com/CadQuery/cadquery
there is also a GUI, and apparently CadQuery also runs in Jupyter which is
the standard tool for interactive development in the Python world.
https://github.com/CadQuery/cadquery
Installation etc looks standard, and I wouldn't expect any issues if you
use Python daily.
On Tue, Jan 16, 2024 at 8:21 AM Guenther Sohler via Discuss <
discuss@lists.openscad.org> wrote:
> Are you using Cadquery in Linux or in Windows ?
>
> I tried to install cadquery i the past, but there were actually quite many
> stumbling stones lying in the way and I ended up in dependency issues with
> anaconda/et cetera which I could not solve.
>
> Can you point me to the instructions which helped you to succeed ?(is it
> windows or linux ?)
>
> BTW: I have seen a tetris animation in youtube lately which is by nero
> engineering. is it from you ? is it a life channel rather than a video ?
>
>
> On Tue, Jan 16, 2024 at 8:09 AM neri-engineering via Discuss <
> discuss@lists.openscad.org> wrote:
>
>> CadQuery is very powerful; it's for the power user, much like UNIX can be
>> compared to Windows. A power user who does not fear learning things would
>> always gravitate towards UNIX or a UNIX-like system (even MacOS I suppose).
>>
>> Yes you're right, the installation of CadQuery and of cq-editor was a bit
>> more difficult than is typical, and it's because these tools live in
>> "Python world" which needs to know how to load libs etc. That's why they
>> have tools such as conda, anaconda, mambaforge, etc. to handle library
>> dependencies and library installations. Even I was not an expert in Python
>> but I was able to install these tools after careful reading and a few trial
>> and error steps. Yes it took a couple of hours in my case as well.
>>
>> I still do like OpenSCAD, but for me it's crucial to have a tool that
>> generates STEP files for CNC machining at my disposal. This is why I had
>> to look beyond just OpenSCAD. Furthermore I'm very repulsed with the idea
>> of using graphical user interfaces to create parts that are very similar to
>> each other, with minor differences in between. In other words having a
>> language with which to "program parts" is very agreeable with me; this is
>> exactly what drew me to OpenSCAD initially.
>>
>> Because CadQuery uses a B-rep lib as its backend, things like "shelling",
>> "fillet", or even "chamfer" are built-ins. In other words smoothing things
>> is easy; it's part of the backend library. These are frequently discussed
>> topics on this forum. 'Helix' and other complex operations are also
>> built-ins. Yes there is a learning curve with the extensive API, but once
>> you start working on simple examples it becomes clearer and clearer. STL
>> can be generated by CadQuery.
>>
>> Well here is an example. Threads for screws are very easy to program.
>> With about 300 lines of code I was able to write a complete thread library
>> in two days, which generates both internal and external threads, with many
>> options. (Now of course I will be maintaining it when I find bugs, which
>> is expected because I'm using this in all of my projects.)
>>
>> If you are interested in trying the thread generation code, it is here:
>>
>>
>> https://sourceforge.net/p/nl10/code/HEAD/tree/cq-code/common/metric_threads.py
>>
>> If you add these few lines of code
>>
>> show_object(internal_metric_thread(diameter=3.0,
>> pitch=0.5,
>> length=2.0,
>> bottom_chamfer=True,
>> base_tube_od=3.5))
>>
>> to the bottom of thread lib linked above, opening in cq-editor will get
>> you this:
>>
>> [image: threads.png]
>>
>> Cheers.
>>
>> Sent with Proton Mail <https://proton.me/> secure email.
>>
>> On Monday, January 15th, 2024 at 9:15 PM, Leonard Martin Struttmann via
>> Discuss <discuss@lists.openscad.org> wrote:
>>
>> UPDATE: So I finally got CadQuery/CQ-editor installed and spent about
>> three hours playing with it today to design a simple part.
>>
>> Conclusion: I will probably NOT be switching over to CadQuery.
>>
>> I found the user interface to be clunky, and the editor is very basic
>> with little in the way of preferences.
>>
>> CadQuery is very flexible, but flexibility breeds complexity. The
>> learning curve is very steep.
>>
>> In practice, I found it to work just as if you were documenting each step
>> you would take if you were using a drawing program such as TinkerCAD,
>> FreeCADD, etc. For simple parts, each line of code (or each layer in the
>> stack of functions) corresponds with a similar action on a drawing program:
>> Select a plane, do some 2D drawing, then cut or extrude, select some edges,
>> apply chamfer/fillets, and then repeat.
>>
>> The devil is in the details and in understanding what is going on under
>> the hood (bonnet). For example, I could extrude a regular polygon, but I
>> could not extrude a polyline (created from a list of points). After much
>> searching, I found that one must use the .close() function between the
>> polyline and the extrude.
>>
>> Of course, your mileage may vary and if you are transitioning from a
>> drawing program you may find it easier than this old guy.
>>
>> End of report.
>>
>>
>> On Mon, Jan 15, 2024 at 7:44 AM jon via Discuss <
>> discuss@lists.openscad.org> wrote:
>>
>>> Great. Not so privately. Sigh.
>>>
>>> When Reply does not mean Reply.
>>>
>>>
>>> On 1/15/2024 8:39 AM, jon via Discuss wrote:
>>>
>>> Privately.
>>>
>>> Would your code eventually be able to replace MeshCAM?
>>>
>>> Jon
>>>
>>>
>>> On 1/14/2024 10:16 PM, William F. Adams via Discuss wrote:
>>>
>>> I tried CadQuery a while back --- it was confusing because they were
>>> just transitioning from being a workbench in FreeCAD (which I was hopeful
>>> of) to being a stand-alone project (which I found off-putting and which
>>> lacked the synergy w/ a graphical program I was hoping for).
>>>
>>> Agree that there was a striking absence of example files/code, and the
>>> ones which I could find seemed arcane and confusing in how they were coded.
>>>
>>> The nascent effort to put Python into OpenSCAD has been a lot more
>>> approachable to me:
>>>
>>> http://pythonscad.org/
>>>
>>> https://github.com/openscad/openscad/issues/4880
>>>
>>> (but I don't know if anyone would want to do anything the way I do it:
>>> https://github.com/WillAdams/gcodepreview )
>>>
>>> William
>>>
>>> --
>>> Sphinx of black quartz, judge my vow.
>>> https://designinto3d.com/
>>>
>>> _______________________________________________
>>> 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
>>
> _______________________________________________
> OpenSCAD mailing list
> To unsubscribe send an email to discuss-leave@lists.openscad.org
>
NH
nop head
Tue, Jan 16, 2024 9:18 AM
PyCAM is an open source CNC CAM tool. I use it for 2D routing DXFs from
OpenSCAD but it can also do 3D from STLs I believe.
On Tue, 16 Jan 2024 at 05:17, Bruno Boettcher via Discuss <
discuss@lists.openscad.org> wrote:
Well as said, french universities have, usually, indeed a problem with
open source (I made my PhD at one...) since in the administrative layers
there's the big illusion of successful software/hardware patents and the
big money....
But also, usually, it's possible to retrieve, under the guise of a
federated project, the stuff under a Eugpl like license (since the people
writing the stuff usually are in the inverse opinion) ...
But no matter, indeed I didn't knew there weren't any open source CNC
"slicers"
Ciao
Bruno Böttcher
35 rue de la république, FR-6720 Schwindratzheim
email: bboett@adlp.org, mobile:bboett@gmail.com
Fon:+33 3 88 89 91, Mob:+33 6 76 55 82 68
Dev: Java/Perl/PHP OS:GNU/LINUX, Android
Aïkido: http://aikido.zorn.free.fr, http://www.aikido-club-saverne.fr
Torsten Paul via Discuss discuss@lists.openscad.org schrieb am Di., 16.
Jan. 2024, 05:56:
On 15.01.24 22:17, Bruno Boettcher via Discuss wrote:
Ah yes, you have to ask them directly...
French universities still have problems with public code
repositories....
That is not how open source works. At all.
CGAL is Universtity/French based too, so I don't really buy that claim
(https://geometryfactory.com/who-we-are/).
Quote "Andreas founded GeometryFactory in 2003 in order to commercialize
the technology accumulated through a series of European research
projects developing the CGAL library."
That is exactly what IceSL did/does.
ciao,
Torsten.
OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org
PyCAM is an open source CNC CAM tool. I use it for 2D routing DXFs from
OpenSCAD but it can also do 3D from STLs I believe.
On Tue, 16 Jan 2024 at 05:17, Bruno Boettcher via Discuss <
discuss@lists.openscad.org> wrote:
> Well as said, french universities have, usually, indeed a problem with
> open source (I made my PhD at one...) since in the administrative layers
> there's the big illusion of successful software/hardware patents and the
> big money....
> But also, usually, it's possible to retrieve, under the guise of a
> federated project, the stuff under a Eugpl like license (since the people
> writing the stuff usually are in the inverse opinion) ...
>
> But no matter, indeed I didn't knew there weren't any open source CNC
> "slicers"
>
>
> Ciao
>
> Bruno Böttcher
> --
> 35 rue de la république, FR-6720 Schwindratzheim
> email: bboett@adlp.org, mobile:bboett@gmail.com
> Fon:+33 3 88 89 91, Mob:+33 6 76 55 82 68
> -------------------------------------------------
> Dev: Java/Perl/PHP OS:GNU/LINUX, Android
> Aïkido: http://aikido.zorn.free.fr, http://www.aikido-club-saverne.fr
>
>
> Torsten Paul via Discuss <discuss@lists.openscad.org> schrieb am Di., 16.
> Jan. 2024, 05:56:
>
>> On 15.01.24 22:17, Bruno Boettcher via Discuss wrote:
>> > Ah yes, you have to ask them directly...
>> > French universities still have problems with public code
>> repositories....
>>
>> That is not how open source works. At all.
>>
>> CGAL is Universtity/French based too, so I don't really buy that claim
>> (https://geometryfactory.com/who-we-are/).
>>
>> Quote "Andreas founded GeometryFactory in 2003 in order to commercialize
>> the technology accumulated through a series of European research
>> projects developing the CGAL library."
>>
>> That is *exactly* what IceSL did/does.
>>
>> ciao,
>> Torsten.
>> _______________________________________________
>> 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
>
NH
nop head
Tue, Jan 16, 2024 11:14 AM
I couldn't get it to work with the cadquery installation on Win11 because
there was a missing DLL but the build123d install worked.
On Tue, 16 Jan 2024 at 07:54, edmund ronald via Discuss <
discuss@lists.openscad.org> wrote:
Smoothing, fillets etc are a standard problem in OpenScad, and a real
issue for normal users.
I personally have given up on hoping for improvements here because of the
"You are an idiot if you don't know how to do this" attitude of the
maintainers.
Edmund
In case it hasn't been posted, here is what seems to be the current the
CadQuery github page
https://github.com/CadQuery/cadquery
there is also a GUI, and apparently CadQuery also runs in Jupyter which is
the standard tool for interactive development in the Python world.
https://github.com/CadQuery/cadquery
Installation etc looks standard, and I wouldn't expect any issues if you
use Python daily.
On Tue, Jan 16, 2024 at 8:21 AM Guenther Sohler via Discuss <
discuss@lists.openscad.org> wrote:
Are you using Cadquery in Linux or in Windows ?
I tried to install cadquery i the past, but there were actually quite
many stumbling stones lying in the way and I ended up in dependency issues
with anaconda/et cetera which I could not solve.
Can you point me to the instructions which helped you to succeed ?(is it
windows or linux ?)
BTW: I have seen a tetris animation in youtube lately which is by nero
engineering. is it from you ? is it a life channel rather than a video ?
On Tue, Jan 16, 2024 at 8:09 AM neri-engineering via Discuss <
discuss@lists.openscad.org> wrote:
CadQuery is very powerful; it's for the power user, much like UNIX can
be compared to Windows. A power user who does not fear learning things
would always gravitate towards UNIX or a UNIX-like system (even MacOS I
suppose).
Yes you're right, the installation of CadQuery and of cq-editor was a
bit more difficult than is typical, and it's because these tools live in
"Python world" which needs to know how to load libs etc. That's why they
have tools such as conda, anaconda, mambaforge, etc. to handle library
dependencies and library installations. Even I was not an expert in Python
but I was able to install these tools after careful reading and a few trial
and error steps. Yes it took a couple of hours in my case as well.
I still do like OpenSCAD, but for me it's crucial to have a tool that
generates STEP files for CNC machining at my disposal. This is why I had
to look beyond just OpenSCAD. Furthermore I'm very repulsed with the idea
of using graphical user interfaces to create parts that are very similar to
each other, with minor differences in between. In other words having a
language with which to "program parts" is very agreeable with me; this is
exactly what drew me to OpenSCAD initially.
Because CadQuery uses a B-rep lib as its backend, things like
"shelling", "fillet", or even "chamfer" are built-ins. In other words
smoothing things is easy; it's part of the backend library. These are
frequently discussed topics on this forum. 'Helix' and other complex
operations are also built-ins. Yes there is a learning curve with the
extensive API, but once you start working on simple examples it becomes
clearer and clearer. STL can be generated by CadQuery.
Well here is an example. Threads for screws are very easy to program.
With about 300 lines of code I was able to write a complete thread library
in two days, which generates both internal and external threads, with many
options. (Now of course I will be maintaining it when I find bugs, which
is expected because I'm using this in all of my projects.)
If you are interested in trying the thread generation code, it is here:
https://sourceforge.net/p/nl10/code/HEAD/tree/cq-code/common/metric_threads.py
If you add these few lines of code
show_object(internal_metric_thread(diameter=3.0,
pitch=0.5,
length=2.0,
bottom_chamfer=True,
base_tube_od=3.5))
to the bottom of thread lib linked above, opening in cq-editor will get
you this:
[image: threads.png]
Cheers.
Sent with Proton Mail https://proton.me/ secure email.
On Monday, January 15th, 2024 at 9:15 PM, Leonard Martin Struttmann via
Discuss discuss@lists.openscad.org wrote:
UPDATE: So I finally got CadQuery/CQ-editor installed and spent about
three hours playing with it today to design a simple part.
Conclusion: I will probably NOT be switching over to CadQuery.
I found the user interface to be clunky, and the editor is very basic
with little in the way of preferences.
CadQuery is very flexible, but flexibility breeds complexity. The
learning curve is very steep.
In practice, I found it to work just as if you were documenting each
step you would take if you were using a drawing program such as TinkerCAD,
FreeCADD, etc. For simple parts, each line of code (or each layer in the
stack of functions) corresponds with a similar action on a drawing program:
Select a plane, do some 2D drawing, then cut or extrude, select some edges,
apply chamfer/fillets, and then repeat.
The devil is in the details and in understanding what is going on under
the hood (bonnet). For example, I could extrude a regular polygon, but I
could not extrude a polyline (created from a list of points). After much
searching, I found that one must use the .close() function between the
polyline and the extrude.
Of course, your mileage may vary and if you are transitioning from a
drawing program you may find it easier than this old guy.
End of report.
On Mon, Jan 15, 2024 at 7:44 AM jon via Discuss <
discuss@lists.openscad.org> wrote:
Great. Not so privately. Sigh.
When Reply does not mean Reply.
On 1/15/2024 8:39 AM, jon via Discuss wrote:
Privately.
Would your code eventually be able to replace MeshCAM?
Jon
On 1/14/2024 10:16 PM, William F. Adams via Discuss wrote:
I tried CadQuery a while back --- it was confusing because they were
just transitioning from being a workbench in FreeCAD (which I was hopeful
of) to being a stand-alone project (which I found off-putting and which
lacked the synergy w/ a graphical program I was hoping for).
Agree that there was a striking absence of example files/code, and the
ones which I could find seemed arcane and confusing in how they were coded.
The nascent effort to put Python into OpenSCAD has been a lot more
approachable to me:
http://pythonscad.org/
https://github.com/openscad/openscad/issues/4880
(but I don't know if anyone would want to do anything the way I do it:
https://github.com/WillAdams/gcodepreview )
William
--
Sphinx of black quartz, judge my vow.
https://designinto3d.com/
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
I couldn't get it to work with the cadquery installation on Win11 because
there was a missing DLL but the build123d install worked.
On Tue, 16 Jan 2024 at 07:54, edmund ronald via Discuss <
discuss@lists.openscad.org> wrote:
> Smoothing, fillets etc are a standard problem in OpenScad, and a real
> issue for normal users.
> I personally have given up on hoping for improvements here because of the
> "You are an idiot if you don't know how to do this" attitude of the
> maintainers.
>
> Edmund
>
> In case it hasn't been posted, here is what seems to be the current the
> CadQuery github page
>
> https://github.com/CadQuery/cadquery
>
> there is also a GUI, and apparently CadQuery also runs in Jupyter which is
> the standard tool for interactive development in the Python world.
>
> https://github.com/CadQuery/cadquery
>
> Installation etc looks standard, and I wouldn't expect any issues if you
> use Python daily.
>
>
>
> On Tue, Jan 16, 2024 at 8:21 AM Guenther Sohler via Discuss <
> discuss@lists.openscad.org> wrote:
>
>> Are you using Cadquery in Linux or in Windows ?
>>
>> I tried to install cadquery i the past, but there were actually quite
>> many stumbling stones lying in the way and I ended up in dependency issues
>> with anaconda/et cetera which I could not solve.
>>
>> Can you point me to the instructions which helped you to succeed ?(is it
>> windows or linux ?)
>>
>> BTW: I have seen a tetris animation in youtube lately which is by nero
>> engineering. is it from you ? is it a life channel rather than a video ?
>>
>>
>> On Tue, Jan 16, 2024 at 8:09 AM neri-engineering via Discuss <
>> discuss@lists.openscad.org> wrote:
>>
>>> CadQuery is very powerful; it's for the power user, much like UNIX can
>>> be compared to Windows. A power user who does not fear learning things
>>> would always gravitate towards UNIX or a UNIX-like system (even MacOS I
>>> suppose).
>>>
>>> Yes you're right, the installation of CadQuery and of cq-editor was a
>>> bit more difficult than is typical, and it's because these tools live in
>>> "Python world" which needs to know how to load libs etc. That's why they
>>> have tools such as conda, anaconda, mambaforge, etc. to handle library
>>> dependencies and library installations. Even I was not an expert in Python
>>> but I was able to install these tools after careful reading and a few trial
>>> and error steps. Yes it took a couple of hours in my case as well.
>>>
>>> I still do like OpenSCAD, but for me it's crucial to have a tool that
>>> generates STEP files for CNC machining at my disposal. This is why I had
>>> to look beyond just OpenSCAD. Furthermore I'm very repulsed with the idea
>>> of using graphical user interfaces to create parts that are very similar to
>>> each other, with minor differences in between. In other words having a
>>> language with which to "program parts" is very agreeable with me; this is
>>> exactly what drew me to OpenSCAD initially.
>>>
>>> Because CadQuery uses a B-rep lib as its backend, things like
>>> "shelling", "fillet", or even "chamfer" are built-ins. In other words
>>> smoothing things is easy; it's part of the backend library. These are
>>> frequently discussed topics on this forum. 'Helix' and other complex
>>> operations are also built-ins. Yes there is a learning curve with the
>>> extensive API, but once you start working on simple examples it becomes
>>> clearer and clearer. STL can be generated by CadQuery.
>>>
>>> Well here is an example. Threads for screws are very easy to program.
>>> With about 300 lines of code I was able to write a complete thread library
>>> in two days, which generates both internal and external threads, with many
>>> options. (Now of course I will be maintaining it when I find bugs, which
>>> is expected because I'm using this in all of my projects.)
>>>
>>> If you are interested in trying the thread generation code, it is here:
>>>
>>>
>>> https://sourceforge.net/p/nl10/code/HEAD/tree/cq-code/common/metric_threads.py
>>>
>>> If you add these few lines of code
>>>
>>> show_object(internal_metric_thread(diameter=3.0,
>>> pitch=0.5,
>>> length=2.0,
>>> bottom_chamfer=True,
>>> base_tube_od=3.5))
>>>
>>> to the bottom of thread lib linked above, opening in cq-editor will get
>>> you this:
>>>
>>> [image: threads.png]
>>>
>>> Cheers.
>>>
>>> Sent with Proton Mail <https://proton.me/> secure email.
>>>
>>> On Monday, January 15th, 2024 at 9:15 PM, Leonard Martin Struttmann via
>>> Discuss <discuss@lists.openscad.org> wrote:
>>>
>>> UPDATE: So I finally got CadQuery/CQ-editor installed and spent about
>>> three hours playing with it today to design a simple part.
>>>
>>> Conclusion: I will probably NOT be switching over to CadQuery.
>>>
>>> I found the user interface to be clunky, and the editor is very basic
>>> with little in the way of preferences.
>>>
>>> CadQuery is very flexible, but flexibility breeds complexity. The
>>> learning curve is very steep.
>>>
>>> In practice, I found it to work just as if you were documenting each
>>> step you would take if you were using a drawing program such as TinkerCAD,
>>> FreeCADD, etc. For simple parts, each line of code (or each layer in the
>>> stack of functions) corresponds with a similar action on a drawing program:
>>> Select a plane, do some 2D drawing, then cut or extrude, select some edges,
>>> apply chamfer/fillets, and then repeat.
>>>
>>> The devil is in the details and in understanding what is going on under
>>> the hood (bonnet). For example, I could extrude a regular polygon, but I
>>> could not extrude a polyline (created from a list of points). After much
>>> searching, I found that one must use the .close() function between the
>>> polyline and the extrude.
>>>
>>> Of course, your mileage may vary and if you are transitioning from a
>>> drawing program you may find it easier than this old guy.
>>>
>>> End of report.
>>>
>>>
>>> On Mon, Jan 15, 2024 at 7:44 AM jon via Discuss <
>>> discuss@lists.openscad.org> wrote:
>>>
>>>> Great. Not so privately. Sigh.
>>>>
>>>> When Reply does not mean Reply.
>>>>
>>>>
>>>> On 1/15/2024 8:39 AM, jon via Discuss wrote:
>>>>
>>>> Privately.
>>>>
>>>> Would your code eventually be able to replace MeshCAM?
>>>>
>>>> Jon
>>>>
>>>>
>>>> On 1/14/2024 10:16 PM, William F. Adams via Discuss wrote:
>>>>
>>>> I tried CadQuery a while back --- it was confusing because they were
>>>> just transitioning from being a workbench in FreeCAD (which I was hopeful
>>>> of) to being a stand-alone project (which I found off-putting and which
>>>> lacked the synergy w/ a graphical program I was hoping for).
>>>>
>>>> Agree that there was a striking absence of example files/code, and the
>>>> ones which I could find seemed arcane and confusing in how they were coded.
>>>>
>>>> The nascent effort to put Python into OpenSCAD has been a lot more
>>>> approachable to me:
>>>>
>>>> http://pythonscad.org/
>>>>
>>>> https://github.com/openscad/openscad/issues/4880
>>>>
>>>> (but I don't know if anyone would want to do anything the way I do it:
>>>> https://github.com/WillAdams/gcodepreview )
>>>>
>>>> William
>>>>
>>>> --
>>>> Sphinx of black quartz, judge my vow.
>>>> https://designinto3d.com/
>>>>
>>>> _______________________________________________
>>>> 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
>>>
>> _______________________________________________
>> 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
>
J
jon
Tue, Jan 16, 2024 11:24 AM
Edmund:
I have not encountered a "you are an idiot" response to any of my
postings. To the contrary, many people have been very helpful,
especially those who wrote the BOSL2 library.
Jon
On 1/16/2024 2:53 AM, edmund ronald via Discuss wrote:
Smoothing, fillets etc are a standard problem in OpenScad, and a real
issue for normal users.
I personally have given up on hoping for improvements here because of
the "You are an idiot if you don't know how to do this" attitude of
the maintainers.
Edmund
Edmund:
I have not encountered a "you are an idiot" response to any of my
postings. To the contrary, many people have been very helpful,
especially those who wrote the BOSL2 library.
Jon
On 1/16/2024 2:53 AM, edmund ronald via Discuss wrote:
> Smoothing, fillets etc are a standard problem in OpenScad, and a real
> issue for normal users.
> I personally have given up on hoping for improvements here because of
> the "You are an idiot if you don't know how to do this" attitude of
> the maintainers.
>
> Edmund
RW
Rogier Wolff
Tue, Jan 16, 2024 1:54 PM
On Tue, Jan 16, 2024 at 05:56:20AM +0100, Torsten Paul via Discuss wrote:
On 15.01.24 22:17, Bruno Boettcher via Discuss wrote:
Ah yes, you have to ask them directly...
French universities still have problems with public code repositories....
That is not how open source works. At all.
That is EXACTLY how the letter of the GNU GPL intends it to work!
IF it is licenced under GPL, it is REQUIRED that IF someone has
somehow obtained the binary, THEN when asked you provide them the
source code.
Now, with the internet which didn't really exist back when that was
written, it is much easier to just publish the sourcecode on your
website or on something like github. Then you don't have the hassle of
"providing them with the source code" every time someone asks. So
that's what everybody does.
I have sold GPL code with my additions. And if any of those who bought
that (less than a handfull) would have cared to ask, I'd have to have
provided the source code to them. And they would have been allowed to
publish that and ruin my whole market for selling that stuff. All
legal. (That's what you learn when you dive into the legaleze). :-)
Roger.
CGAL is Universtity/French based too, so I don't really buy that claim
(https://geometryfactory.com/who-we-are/).
Quote "Andreas founded GeometryFactory in 2003 in order to commercialize
the technology accumulated through a series of European research
projects developing the CGAL library."
That is exactly what IceSL did/does.
ciao,
Torsten.
OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org
--
** R.E.Wolff@BitWizard.nl ** https://www.BitWizard.nl/ ** +31-15-2049110 **
** Delftechpark 11 2628 XJ Delft, The Netherlands. KVK: 27239233 **
f equals m times a. When your f is steady, and your m is going down
your a is going up. -- Chris Hadfield about flying up the space shuttle.
On Tue, Jan 16, 2024 at 05:56:20AM +0100, Torsten Paul via Discuss wrote:
> On 15.01.24 22:17, Bruno Boettcher via Discuss wrote:
> > Ah yes, you have to ask them directly...
> > French universities still have problems with public code repositories....
>
> That is not how open source works. At all.
That is EXACTLY how the letter of the GNU GPL intends it to work!
IF it is licenced under GPL, it is REQUIRED that IF someone has
somehow obtained the binary, THEN when asked you provide them the
source code.
Now, with the internet which didn't really exist back when that was
written, it is much easier to just publish the sourcecode on your
website or on something like github. Then you don't have the hassle of
"providing them with the source code" every time someone asks. So
that's what everybody does.
I have sold GPL code with my additions. And if any of those who bought
that (less than a handfull) would have cared to ask, I'd have to have
provided the source code to them. And they would have been allowed to
publish that and ruin my whole market for selling that stuff. All
legal. (That's what you learn when you dive into the legaleze). :-)
Roger.
>
> CGAL is Universtity/French based too, so I don't really buy that claim
> (https://geometryfactory.com/who-we-are/).
>
> Quote "Andreas founded GeometryFactory in 2003 in order to commercialize
> the technology accumulated through a series of European research
> projects developing the CGAL library."
>
> That is *exactly* what IceSL did/does.
>
> ciao,
> Torsten.
> _______________________________________________
> OpenSCAD mailing list
> To unsubscribe send an email to discuss-leave@lists.openscad.org
--
** R.E.Wolff@BitWizard.nl ** https://www.BitWizard.nl/ ** +31-15-2049110 **
** Delftechpark 11 2628 XJ Delft, The Netherlands. KVK: 27239233 **
f equals m times a. When your f is steady, and your m is going down
your a is going up. -- Chris Hadfield about flying up the space shuttle.
TP
Torsten Paul
Tue, Jan 16, 2024 2:12 PM
THAT is the published license
https://icesl.loria.fr/assets/pdf/EULA_IceSL_binary.pdf
ciao,
Torsten.
TP
Torsten Paul
Tue, Jan 16, 2024 2:22 PM
On 16.01.24 08:53, edmund ronald via Discuss wrote:
I personally have given up on hoping for improvements here because of
the "You are an idiot if you don't know how to do this" attitude of the
maintainers.
That is a very strong and specific accusation. Do you have any reference
to back that up?
ciao,
Torsten.
On 16.01.24 08:53, edmund ronald via Discuss wrote:
> I personally have given up on hoping for improvements here because of
> the "You are an idiot if you don't know how to do this" attitude of the
> maintainers.
That is a very strong and specific accusation. Do you have any reference
to back that up?
ciao,
Torsten.
RW
Rogier Wolff
Tue, Jan 16, 2024 2:45 PM
On Tue, Jan 16, 2024 at 03:22:34PM +0100, Torsten Paul via Discuss wrote:
On 16.01.24 08:53, edmund ronald via Discuss wrote:
I personally have given up on hoping for improvements here because of
the "You are an idiot if you don't know how to do this" attitude of the
maintainers.
That is a very strong and specific accusation. Do you have any reference
to back that up?
Not "OP" but...
For example, my "suggestion for improvement" with zoom instead of
"move forward". I got several replies of you can achieve the same
result by....
Even though those responses might have been given by "well meaning
users on the list", to a newbie they might sound as "the maintainers".
And the "we can't improve this because of backward compatiblity" that
often comes up can also be felt as, "they are not listening to me".
The "you are an idiot" part is worded a bit strongly, but I can
understand that some people feel that way.
I do think that with CadQuery I can make better things than what I can
with OpenScad now. But I still have to invest the time to get more
aquainted.
Roger.
--
** R.E.Wolff@BitWizard.nl ** https://www.BitWizard.nl/ ** +31-15-2049110 **
** Delftechpark 11 2628 XJ Delft, The Netherlands. KVK: 27239233 **
f equals m times a. When your f is steady, and your m is going down
your a is going up. -- Chris Hadfield about flying up the space shuttle.
On Tue, Jan 16, 2024 at 03:22:34PM +0100, Torsten Paul via Discuss wrote:
> On 16.01.24 08:53, edmund ronald via Discuss wrote:
> > I personally have given up on hoping for improvements here because of
> > the "You are an idiot if you don't know how to do this" attitude of the
> > maintainers.
>
> That is a very strong and specific accusation. Do you have any reference
> to back that up?
Not "OP" but...
For example, my "suggestion for improvement" with zoom instead of
"move forward". I got several replies of you can achieve the same
result by....
Even though those responses might have been given by "well meaning
users on the list", to a newbie they might sound as "the maintainers".
And the "we can't improve this because of backward compatiblity" that
often comes up can also be felt as, "they are not listening to me".
The "you are an idiot" part is worded a bit strongly, but I can
understand that some people feel that way.
I do think that with CadQuery I can make better things than what I can
with OpenScad now. But I still have to invest the time to get more
aquainted.
Roger.
--
** R.E.Wolff@BitWizard.nl ** https://www.BitWizard.nl/ ** +31-15-2049110 **
** Delftechpark 11 2628 XJ Delft, The Netherlands. KVK: 27239233 **
f equals m times a. When your f is steady, and your m is going down
your a is going up. -- Chris Hadfield about flying up the space shuttle.
KE
Karl Exler
Tue, Jan 16, 2024 3:37 PM
Sorry Edmund.. In German we say: As you cry into the forest.. in the
same way it comes back..
I am not a programmer.
I have a lot of stupid questions
BUT --> all the nice people here are willing to help though some of my
questions (I am sure) make them internally laugh
Two years ago I learned what libraries are and decided to for for BOSL2...
And at least I must say that I am very very happy with OpenScad, with
the community and will all the beautiful things I designed with it.
HOW!
Karl (a very normal user)
Am 16.01.24 um 08:53 schrieb edmund ronald via Discuss:
Smoothing, fillets etc are a standard problem in OpenScad, and a real
issue for normal users.
I personally have given up on hoping for improvements here because of
the "You are an idiot if you don't know how to do this" attitude of
the maintainers.
Edmund
In case it hasn't been posted, here is what seems to be the current
the CadQuery github page
https://github.com/CadQuery/cadquery
there is also a GUI, and apparently CadQuery also runs in Jupyter
which is the standard tool for interactive development in the Python
world.
https://github.com/CadQuery/cadquery
Installation etc looks standard, and I wouldn't expect any issues if
you use Python daily.
On Tue, Jan 16, 2024 at 8:21 AM Guenther Sohler via Discuss
discuss@lists.openscad.org wrote:
Are you using Cadquery in Linux or in Windows ?
I tried to install cadquery i the past, but there were actually
quite many stumbling stones lying in the way and I ended up in
dependency issues with anaconda/et cetera which I could not solve.
Can you point me to the instructions which helped you to succeed
?(is it windows or linux ?)
BTW: I have seen a tetris animation in youtube lately which is by
nero engineering. is it from you ? is it a life channel rather
than a video ?
On Tue, Jan 16, 2024 at 8:09 AM neri-engineering via Discuss
<discuss@lists.openscad.org> wrote:
CadQuery is very powerful; it's for the power user, much like
UNIX can be compared to Windows. A power user who does not
fear learning things would always gravitate towards UNIX or a
UNIX-like system (even MacOS I suppose).
Yes you're right, the installation of CadQuery and of
cq-editor was a bit more difficult than is typical, and it's
because these tools live in "Python world" which needs to know
how to load libs etc. That's why they have tools such as
conda, anaconda, mambaforge, etc. to handle library
dependencies and library installations. Even I was not an
expert in Python but I was able to install these tools after
careful reading and a few trial and error steps. Yes it took
a couple of hours in my case as well.
I still do like OpenSCAD, but for me it's crucial to have a
tool that generates STEP files for CNC machining at my
disposal. This is why I had to look beyond just OpenSCAD.
Furthermore I'm very repulsed with the idea of using graphical
user interfaces to create parts that are very similar to each
other, with minor differences in between. In other words
having a language with which to "program parts" is very
agreeable with me; this is exactly what drew me to OpenSCAD
initially.
Because CadQuery uses a B-rep lib as its backend, things like
"shelling", "fillet", or even "chamfer" are built-ins. In
other words smoothing things is easy; it's part of the backend
library. These are frequently discussed topics on this
forum. 'Helix' and other complex operations are also
built-ins. Yes there is a learning curve with the extensive
API, but once you start working on simple examples it becomes
clearer and clearer. STL can be generated by CadQuery.
Well here is an example. Threads for screws are very easy to
program. With about 300 lines of code I was able to write a
complete thread library in two days, which generates both
internal and external threads, with many options. (Now of
course I will be maintaining it when I find bugs, which is
expected because I'm using this in all of my projects.)
If you are interested in trying the thread generation code, it
is here:
https://sourceforge.net/p/nl10/code/HEAD/tree/cq-code/common/metric_threads.py
<https://sourceforge.net/p/nl10/code/HEAD/tree/cq-code/common/metric_threads.py>
If you add these few lines of code
show_object(internal_metric_thread(diameter=3.0,
pitch=0.5,
length=2.0,
bottom_chamfer=True,
base_tube_od=3.5))
to the bottom of thread lib linked above, opening in cq-editor
will get you this:
threads.png
Cheers.
Sent with Proton Mail <https://proton.me/> secure email.
On Monday, January 15th, 2024 at 9:15 PM, Leonard Martin
Struttmann via Discuss <discuss@lists.openscad.org> wrote:
UPDATE: So I finally got CadQuery/CQ-editor installed and
spent about three hours playing with it today to design a
simple part.
Conclusion: I will probably NOT be switching over to CadQuery.
I found the user interface to be clunky, and the editor is
very basic with little in the way of preferences.
CadQuery is very flexible, but flexibility breeds complexity.
The learning curve is very steep.
In practice, I found it to work just as if you were
documenting each step you would take if you were using a
drawing program such as TinkerCAD, FreeCADD, etc. For simple
parts, each line of code (or each layer in the stack of
functions) corresponds with a similar action on a drawing
program: Select a plane, do some 2D drawing, then cut or
extrude, select some edges, apply chamfer/fillets, and then
repeat.
The devil is in the details and in understanding what is
going on under the hood (bonnet). For example, I could
extrude a regular polygon, but I could not extrude a polyline
(created from a list of points). After much searching, I
found that one must use the .close() function between the
polyline and the extrude.
Of course, your mileage may vary and if you are transitioning
from a drawing program you may find it easier than this old guy.
End of report.
On Mon, Jan 15, 2024 at 7:44 AM jon via Discuss
<discuss@lists.openscad.org> wrote:
Great. Not so privately. Sigh.
When Reply does not mean Reply.
On 1/15/2024 8:39 AM, jon via Discuss wrote:
Privately.
Would your code eventually be able to replace MeshCAM?
Jon
On 1/14/2024 10:16 PM, William F. Adams via Discuss wrote:
I tried CadQuery a while back --- it was confusing
because they were just transitioning from being a
workbench in FreeCAD (which I was hopeful of) to being
a stand-alone project (which I found off-putting and
which lacked the synergy w/ a graphical program I was
hoping for).
Agree that there was a striking absence of example
files/code, and the ones which I could find seemed
arcane and confusing in how they were coded.
The nascent effort to put Python into OpenSCAD has been
a lot more approachable to me:
http://pythonscad.org/
https://github.com/openscad/openscad/issues/4880
(but I don't know if anyone would want to do anything
the way I do it:
https://github.com/WillAdams/gcodepreview )
William
--
Sphinx of black quartz, judge my vow.
https://designinto3d.com/
_______________________________________________
OpenSCAD mailing list
To unsubscribe send an email todiscuss-leave@lists.openscad.org
_______________________________________________
OpenSCAD mailing list
To unsubscribe send an email todiscuss-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
OpenSCAD mailing list
To unsubscribe send an email todiscuss-leave@lists.openscad.org
Sorry Edmund.. In German we say: As you cry into the forest.. in the
same way it comes back..
I am not a programmer.
I have a lot of stupid questions
BUT --> all the nice people here are willing to help though some of my
questions (I am sure) make them internally laugh
Two years ago I learned what libraries are and decided to for for BOSL2...
And at least I must say that I am very very happy with OpenScad, with
the community and will all the beautiful things I designed with it.
HOW!
Karl (a very normal user)
Am 16.01.24 um 08:53 schrieb edmund ronald via Discuss:
> Smoothing, fillets etc are a standard problem in OpenScad, and a real
> issue for normal users.
> I personally have given up on hoping for improvements here because of
> the "You are an idiot if you don't know how to do this" attitude of
> the maintainers.
>
> Edmund
>
> In case it hasn't been posted, here is what seems to be the current
> the CadQuery github page
>
> https://github.com/CadQuery/cadquery
>
> there is also a GUI, and apparently CadQuery also runs in Jupyter
> which is the standard tool for interactive development in the Python
> world.
>
> https://github.com/CadQuery/cadquery
>
> Installation etc looks standard, and I wouldn't expect any issues if
> you use Python daily.
>
>
>
> On Tue, Jan 16, 2024 at 8:21 AM Guenther Sohler via Discuss
> <discuss@lists.openscad.org> wrote:
>
> Are you using Cadquery in Linux or in Windows ?
>
> I tried to install cadquery i the past, but there were actually
> quite many stumbling stones lying in the way and I ended up in
> dependency issues with anaconda/et cetera which I could not solve.
>
> Can you point me to the instructions which helped you to succeed
> ?(is it windows or linux ?)
>
> BTW: I have seen a tetris animation in youtube lately which is by
> nero engineering. is it from you ? is it a life channel rather
> than a video ?
>
>
> On Tue, Jan 16, 2024 at 8:09 AM neri-engineering via Discuss
> <discuss@lists.openscad.org> wrote:
>
> CadQuery is very powerful; it's for the power user, much like
> UNIX can be compared to Windows. A power user who does not
> fear learning things would always gravitate towards UNIX or a
> UNIX-like system (even MacOS I suppose).
>
> Yes you're right, the installation of CadQuery and of
> cq-editor was a bit more difficult than is typical, and it's
> because these tools live in "Python world" which needs to know
> how to load libs etc. That's why they have tools such as
> conda, anaconda, mambaforge, etc. to handle library
> dependencies and library installations. Even I was not an
> expert in Python but I was able to install these tools after
> careful reading and a few trial and error steps. Yes it took
> a couple of hours in my case as well.
>
> I still do like OpenSCAD, but for me it's crucial to have a
> tool that generates STEP files for CNC machining at my
> disposal. This is why I had to look beyond just OpenSCAD.
> Furthermore I'm very repulsed with the idea of using graphical
> user interfaces to create parts that are very similar to each
> other, with minor differences in between. In other words
> having a language with which to "program parts" is very
> agreeable with me; this is exactly what drew me to OpenSCAD
> initially.
>
> Because CadQuery uses a B-rep lib as its backend, things like
> "shelling", "fillet", or even "chamfer" are built-ins. In
> other words smoothing things is easy; it's part of the backend
> library. These are frequently discussed topics on this
> forum. 'Helix' and other complex operations are also
> built-ins. Yes there is a learning curve with the extensive
> API, but once you start working on simple examples it becomes
> clearer and clearer. STL can be generated by CadQuery.
>
> Well here is an example. Threads for screws are very easy to
> program. With about 300 lines of code I was able to write a
> complete thread library in two days, which generates both
> internal and external threads, with many options. (Now of
> course I will be maintaining it when I find bugs, which is
> expected because I'm using this in all of my projects.)
>
> If you are interested in trying the thread generation code, it
> is here:
>
> https://sourceforge.net/p/nl10/code/HEAD/tree/cq-code/common/metric_threads.py
> <https://sourceforge.net/p/nl10/code/HEAD/tree/cq-code/common/metric_threads.py>
>
> If you add these few lines of code
>
> show_object(internal_metric_thread(diameter=3.0,
> pitch=0.5,
> length=2.0,
> bottom_chamfer=True,
> base_tube_od=3.5))
>
> to the bottom of thread lib linked above, opening in cq-editor
> will get you this:
>
> threads.png
>
> Cheers.
>
> Sent with Proton Mail <https://proton.me/> secure email.
>
> On Monday, January 15th, 2024 at 9:15 PM, Leonard Martin
> Struttmann via Discuss <discuss@lists.openscad.org> wrote:
>
>> UPDATE: So I finally got CadQuery/CQ-editor installed and
>> spent about three hours playing with it today to design a
>> simple part.
>>
>> Conclusion: I will probably NOT be switching over to CadQuery.
>>
>> I found the user interface to be clunky, and the editor is
>> very basic with little in the way of preferences.
>>
>> CadQuery is very flexible, but flexibility breeds complexity.
>> The learning curve is very steep.
>>
>> In practice, I found it to work just as if you were
>> documenting each step you would take if you were using a
>> drawing program such as TinkerCAD, FreeCADD, etc. For simple
>> parts, each line of code (or each layer in the stack of
>> functions) corresponds with a similar action on a drawing
>> program: Select a plane, do some 2D drawing, then cut or
>> extrude, select some edges, apply chamfer/fillets, and then
>> repeat.
>>
>> The devil is in the details and in understanding what is
>> going on under the hood (bonnet). For example, I could
>> extrude a regular polygon, but I could not extrude a polyline
>> (created from a list of points). After much searching, I
>> found that one must use the .close() function between the
>> polyline and the extrude.
>>
>> Of course, your mileage may vary and if you are transitioning
>> from a drawing program you may find it easier than this old guy.
>>
>> End of report.
>>
>>
>> On Mon, Jan 15, 2024 at 7:44 AM jon via Discuss
>> <discuss@lists.openscad.org> wrote:
>>
>> Great. Not so privately. Sigh.
>>
>> When Reply does not mean Reply.
>>
>>
>> On 1/15/2024 8:39 AM, jon via Discuss wrote:
>>>
>>> Privately.
>>>
>>> Would your code eventually be able to replace MeshCAM?
>>>
>>> Jon
>>>
>>>
>>> On 1/14/2024 10:16 PM, William F. Adams via Discuss wrote:
>>>> I tried CadQuery a while back --- it was confusing
>>>> because they were just transitioning from being a
>>>> workbench in FreeCAD (which I was hopeful of) to being
>>>> a stand-alone project (which I found off-putting and
>>>> which lacked the synergy w/ a graphical program I was
>>>> hoping for).
>>>>
>>>> Agree that there was a striking absence of example
>>>> files/code, and the ones which I could find seemed
>>>> arcane and confusing in how they were coded.
>>>>
>>>> The nascent effort to put Python into OpenSCAD has been
>>>> a lot more approachable to me:
>>>>
>>>> http://pythonscad.org/
>>>>
>>>> https://github.com/openscad/openscad/issues/4880
>>>>
>>>> (but I don't know if anyone would want to do anything
>>>> the way I do it:
>>>> https://github.com/WillAdams/gcodepreview )
>>>>
>>>> William
>>>>
>>>> --
>>>> Sphinx of black quartz, judge my vow.
>>>> https://designinto3d.com/
>>>>
>>>> _______________________________________________
>>>> OpenSCAD mailing list
>>>> To unsubscribe send an email todiscuss-leave@lists.openscad.org
>>>
>>> _______________________________________________
>>> OpenSCAD mailing list
>>> To unsubscribe send an email todiscuss-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
>
>
> _______________________________________________
> OpenSCAD mailing list
> To unsubscribe send an email todiscuss-leave@lists.openscad.org