discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

Re: I discovered CadQuery

RW
Rogier Wolff
Fri, Jan 19, 2024 10:36 AM

On Thu, Jan 18, 2024 at 07:37:03PM +0000, Jordan Brown wrote:

On 1/18/2024 3:22 AM, Rogier Wolff wrote:

On Thu, Jan 18, 2024 at 12:11:45PM +0100, Rogier Wolff via Discuss wrote:

If you keep a "default distance from the camera", then that is the
place to put new objects. The user is responsible for turning the
viewpoint and positioning the new objects to the correct 3D position.
A "rotate viewpoint 90 degrees left" and "rotate viewpoint 90 degrees
right" button would be very useful to prevent unwanted movement on the
line that was just correctly positioned.

I'm now realizing that at first I was thinking: just put the object at
the origin. Now I'm thinking at the default distance from the current
view-point in the middle of the screen. That's implementation details
the implementer has to think about and implement whatever they think
is best.

But your example seemed to have it inserting the new object into the
right context in the program, which isn't the same thing as
inserting it at the origin (or at any point readily derivable from
the view window).

Yeah. My suggestion is that if you just do something simple like
"insert into the currently-being-edited object" that is already
usable.

If you think about a fully generic "insert a cube", there is
translation (3 DOF), size (3 DOF), orientation (2DOF) and what object
(1 DOF). That is way too much to do in one go. So if you split that
apart, with the first DOF (what object) being determined by the users
first click ('add cube', 'add cylinder', 'add sphere' ... ) and then
separate out the others as operations on a selected object, you can
already do useful work.

Of course if we add a cube without translations into the current
submodule, then that would mean that in the final mainmodule the
translation of the submodule would apply.

That's implementation detail that I hadn't thought about. At
implementation time some reasonable choice needs to be made and
whichever way it would go, it is not a showstopper.

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 Thu, Jan 18, 2024 at 07:37:03PM +0000, Jordan Brown wrote: > On 1/18/2024 3:22 AM, Rogier Wolff wrote: > > On Thu, Jan 18, 2024 at 12:11:45PM +0100, Rogier Wolff via Discuss wrote: > >> If you keep a "default distance from the camera", then that is the > >> place to put new objects. The user is responsible for turning the > >> viewpoint and positioning the new objects to the correct 3D position. > >> A "rotate viewpoint 90 degrees left" and "rotate viewpoint 90 degrees > >> right" button would be very useful to prevent unwanted movement on the > >> line that was just correctly positioned. > > I'm now realizing that at first I was thinking: just put the object at > > the origin. Now I'm thinking at the default distance from the current > > view-point in the middle of the screen. That's implementation details > > the implementer has to think about and implement whatever they think > > is best. > > > But your example seemed to have it inserting the new object into the > right context in the program, which isn't the same thing as > inserting it at the origin (or at any point readily derivable from > the view window). Yeah. My suggestion is that if you just do something simple like "insert into the currently-being-edited object" that is already usable. If you think about a fully generic "insert a cube", there is translation (3 DOF), size (3 DOF), orientation (2DOF) and what object (1 DOF). That is way too much to do in one go. So if you split that apart, with the first DOF (what object) being determined by the users first click ('add cube', 'add cylinder', 'add sphere' ... ) and then separate out the others as operations on a selected object, you can already do useful work. Of course if we add a cube without translations into the current submodule, then that would mean that in the final mainmodule the translation of the submodule would apply. That's implementation detail that I hadn't thought about. At implementation time some reasonable choice needs to be made and whichever way it would go, it is not a showstopper. 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.
K
Ken
Tue, Jan 23, 2024 6:30 AM

Apologies Jordan, I just realised I had forgotten to thank you for your
offer of trying to find time for the modification to the customisercode.
I'm certain the more visually challenged of us will really appreciate
the work you will do on it.

While I am here, many thanks also to whoever it was that recently
pointed out the use of the alt-arrow key combinations for moving objects
around- that has already saved me a lot of time and frustration while
positioning things on my creations.

On 2024-01-18 17:58, Jordan Brown via Discuss wrote:

On 1/17/2024 10:31 PM, Ken via Discuss wrote:

And the customiser would be a lot more usable for some of us if the
developer gave it customisable font size so we could actually see it!

I'll see if I can spend some time on that.  No promises - prying time
free is tough - but since it's not a language change it shouldn't have
the slow going that most of my work does.


OpenSCAD mailing list
To unsubscribe send an email todiscuss-leave@lists.openscad.org

--
Cheers, Ken
bats059@gmail.com
https://vk7krj.com
https://vk7krj.com/running.html

A baby can be defined as an ego with a noise at one end and a smell at the other.
Your job as parents is to teach them to control all three.
My job as a grandad is to tell you how you are doing it all wrong!

Apologies Jordan, I just realised I had forgotten to thank you for your offer of trying to find time for the modification to the customisercode. I'm certain the more visually challenged of us will really appreciate the work you will do on it. While I am here, many thanks also to whoever it was that recently pointed out the use of the alt-arrow key combinations for moving objects around- that has already saved me a lot of time and frustration while positioning things on my creations. On 2024-01-18 17:58, Jordan Brown via Discuss wrote: > On 1/17/2024 10:31 PM, Ken via Discuss wrote: >> And the customiser would be a lot more usable for some of us if the >> developer gave it customisable font size so we could actually see it! > > I'll see if I can spend some time on that.  No promises - prying time > free is tough - but since it's not a language change it shouldn't have > the slow going that most of my work does. > > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email todiscuss-leave@lists.openscad.org -- Cheers, Ken bats059@gmail.com https://vk7krj.com https://vk7krj.com/running.html ---------------------------------------- A baby can be defined as an ego with a noise at one end and a smell at the other. Your job as parents is to teach them to control all three. My job as a grandad is to tell you how you are doing it all wrong!
J
jon
Tue, Jan 23, 2024 11:17 AM

I guess I missed this one: where do I find the thread, or the
documentation, please?

On 1/23/2024 1:30 AM, Ken via Discuss wrote:

Many thanks also to whoever it was that recently pointed out the use
of the alt-arrow key combinations for moving objects around- that has
already saved me a lot of time and frustration while positioning
things on my creations.

I guess I missed this one: where do I find the thread, or the documentation, please? On 1/23/2024 1:30 AM, Ken via Discuss wrote: > Many thanks also to whoever it was that recently pointed out the use > of the alt-arrow key combinations for moving objects around- that has > already saved me a lot of time and frustration while positioning > things on my creations.
GS
Guenther Sohler
Tue, Jan 23, 2024 11:21 AM

I guess I missed this one: where do I find the thread, or the
documentation, please?
On 1/23/2024 1:30 AM, Ken via Discuss wrote:

Many thanks also to whoever it was that recently pointed out the use of
the alt-arrow key combinations for moving objects around- that has already
saved me a lot of time and frustration while positioning things on my
creations.


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org

you can find it here https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/The_OpenSCAD_User_Interface#Interactive_modification_of_the_numerical_value On Tue, Jan 23, 2024 at 12:18 PM jon via Discuss <discuss@lists.openscad.org> wrote: > I guess I missed this one: where do I find the thread, or the > documentation, please? > On 1/23/2024 1:30 AM, Ken via Discuss wrote: > > Many thanks also to whoever it was that recently pointed out the use of > the alt-arrow key combinations for moving objects around- that has already > saved me a lot of time and frustration while positioning things on my > creations. > > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org >
K
Ken
Tue, Jan 23, 2024 11:22 AM

I guess I missed this one: where do I find the thread, or the
documentation, please?

On 1/23/2024 1:30 AM, Ken via Discuss wrote:

Many thanks also to whoever it was that recently pointed out the use
of the alt-arrow key combinations for moving objects around- that has
already saved me a lot of time and frustration while positioning
things on my creations.

--
Cheers, Ken
bats059@gmail.com
https://vk7krj.com
https://vk7krj.com/running.html

A baby can be defined as an ego with a noise at one end and a smell at the other.
Your job as parents is to teach them to control all three.
My job as a grandad is to tell you how you are doing it all wrong!

On this page Jon- https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/The_OpenSCAD_User_Interface#Interactive_modification_of_the_numerical_value On 2024-01-23 22:17, jon wrote: > > I guess I missed this one: where do I find the thread, or the > documentation, please? > > On 1/23/2024 1:30 AM, Ken via Discuss wrote: >> Many thanks also to whoever it was that recently pointed out the use >> of the alt-arrow key combinations for moving objects around- that has >> already saved me a lot of time and frustration while positioning >> things on my creations. -- Cheers, Ken bats059@gmail.com https://vk7krj.com https://vk7krj.com/running.html ---------------------------------------- A baby can be defined as an ego with a noise at one end and a smell at the other. Your job as parents is to teach them to control all three. My job as a grandad is to tell you how you are doing it all wrong!
J
jon
Tue, Jan 23, 2024 11:25 AM

Thank you.  It feels to me as if this belongs in the Cheat Sheet somewhere.

On 1/23/2024 6:21 AM, Guenther Sohler via Discuss wrote:

you can find it here

https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/The_OpenSCAD_User_Interface#Interactive_modification_of_the_numerical_value

On Tue, Jan 23, 2024 at 12:18 PM jon via Discuss
discuss@lists.openscad.org wrote:

 I guess I missed this one: where do I find the thread, or the
 documentation, please?

 On 1/23/2024 1:30 AM, Ken via Discuss wrote:
 Many thanks also to whoever it was that recently pointed out the
 use of the alt-arrow key combinations for moving objects around-
 that has already saved me a lot of time and frustration while
 positioning things on my creations.
 _______________________________________________
 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

Thank you.  It feels to me as if this belongs in the Cheat Sheet somewhere. On 1/23/2024 6:21 AM, Guenther Sohler via Discuss wrote: > you can find it here > > https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/The_OpenSCAD_User_Interface#Interactive_modification_of_the_numerical_value > > On Tue, Jan 23, 2024 at 12:18 PM jon via Discuss > <discuss@lists.openscad.org> wrote: > > I guess I missed this one: where do I find the thread, or the > documentation, please? > > On 1/23/2024 1:30 AM, Ken via Discuss wrote: >> Many thanks also to whoever it was that recently pointed out the >> use of the alt-arrow key combinations for moving objects around- >> that has already saved me a lot of time and frustration while >> positioning things on my creations. > _______________________________________________ > 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
TP
Torsten Paul
Tue, Jan 23, 2024 11:28 AM

On 23.01.24 12:25, jon via Discuss wrote:

Thank you.  It feels to me as if this belongs in the Cheat Sheet somewhere.

The existing thing called Cheat Sheet is language definition, so that
does not seem like a good place.

If someone would start a GUI Cheat Sheet (maybe with a better name)
that would be great though.

ciao,
Torsten.

On 23.01.24 12:25, jon via Discuss wrote: > Thank you.  It feels to me as if this belongs in the Cheat Sheet somewhere. The existing thing called Cheat Sheet is language definition, so that does not seem like a good place. If someone would start a GUI Cheat Sheet (maybe with a better name) that would be great though. ciao, Torsten.
J
jon
Tue, Jan 23, 2024 11:49 AM

Torsten:

Good point(s), but I see the Cheat Sheet as my one stop for reminders
about OpenSCAD, not just about the GUI.  Perhaps the Cheat Sheet could
then link to this new GUI Cheat Sheet.

On 1/23/2024 6:28 AM, Torsten Paul via Discuss wrote:

On 23.01.24 12:25, jon via Discuss wrote:

Thank you.  It feels to me as if this belongs in the Cheat Sheet
somewhere.

The existing thing called Cheat Sheet is language definition, so that
does not seem like a good place.

If someone would start a GUI Cheat Sheet (maybe with a better name)
that would be great though.

ciao,
  Torsten.


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org

Torsten: Good point(s), but I see the Cheat Sheet as my one stop for reminders about OpenSCAD, not just about the GUI.  Perhaps the Cheat Sheet could then link to this new GUI Cheat Sheet. On 1/23/2024 6:28 AM, Torsten Paul via Discuss wrote: > On 23.01.24 12:25, jon via Discuss wrote: >> Thank you.  It feels to me as if this belongs in the Cheat Sheet >> somewhere. > > The existing thing called Cheat Sheet is language definition, so that > does not seem like a good place. > > If someone would start a GUI Cheat Sheet (maybe with a better name) > that would be great though. > > ciao, >   Torsten. > > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org
WF
William F. Adams
Tue, Jan 23, 2024 12:47 PM

On Tuesday, January 23, 2024 at 06:49:55 AM EST, jon via Discuss discuss@lists.openscad.org wrote:

Good point(s), but I see the Cheat Sheet as my one stop for reminders
about OpenSCAD, not just about the GUI.  Perhaps the Cheat Sheet could
then link to this new GUI Cheat Sheet.

Or the GUI stuff could be integrated onto a second page? Folks could switch back and forth as needed then, and if need be print both sides separately.
William

On Tuesday, January 23, 2024 at 06:49:55 AM EST, jon via Discuss <discuss@lists.openscad.org> wrote: >Good point(s), but I see the Cheat Sheet as my one stop for reminders >about OpenSCAD, not just about the GUI.  Perhaps the Cheat Sheet could >then link to this new GUI Cheat Sheet. Or the GUI stuff could be integrated onto a second page? Folks could switch back and forth as needed then, and if need be print both sides separately. William
LM
Leonard Martin Struttmann
Tue, Jan 23, 2024 1:47 PM

I agree.  This is VERY useful and I never would have stumbled across it
since I assumed (incorrectly) that all of the keyboard shortcuts are listed
in the "Edit" drop-down menu in the editor.

Adding these to the Edit drop-down menu would be nice.

I also agree that a second Cheat Sheet page with a concise list of all of
the keyboard shortcuts would be quite useful.

Len

On Tue, Jan 23, 2024 at 6:48 AM William F. Adams via Discuss <
discuss@lists.openscad.org> wrote:

On Tuesday, January 23, 2024 at 06:49:55 AM EST, jon via Discuss <
discuss@lists.openscad.org> wrote:

Good point(s), but I see the Cheat Sheet as my one stop for reminders
about OpenSCAD, not just about the GUI.  Perhaps the Cheat Sheet could
then link to this new GUI Cheat Sheet.

Or the GUI stuff could be integrated onto a second page? Folks could
switch back and forth as needed then, and if need be print both sides
separately.

William


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org

I agree. This is VERY useful and I never would have stumbled across it since I assumed (incorrectly) that all of the keyboard shortcuts are listed in the "Edit" drop-down menu in the editor. Adding these to the Edit drop-down menu would be nice. I also agree that a second Cheat Sheet page with a concise list of all of the keyboard shortcuts would be quite useful. Len On Tue, Jan 23, 2024 at 6:48 AM William F. Adams via Discuss < discuss@lists.openscad.org> wrote: > On Tuesday, January 23, 2024 at 06:49:55 AM EST, jon via Discuss < > discuss@lists.openscad.org> wrote: > > >Good point(s), but I see the Cheat Sheet as my one stop for reminders > >about OpenSCAD, not just about the GUI. Perhaps the Cheat Sheet could > >then link to this new GUI Cheat Sheet. > > Or the GUI stuff could be integrated onto a second page? Folks could > switch back and forth as needed then, and if need be print both sides > separately. > > William > > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org >