discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

simple rounded shape

JD
John David
Tue, Jan 28, 2025 11:46 AM

Is this automatic?  Or do you have to change any setting options?

EBo --

On Mon, Jan 27, 2025 at 6:41 PM tsingi via Discuss <
discuss@lists.openscad.org> wrote:

I always have that window closed.  I edit in gvim, OpenScad watches the
file and updates when it changes.
I LOVE that.

Sent with Proton Mail secure email.

On Monday, January 27th, 2025 at 6:36 PM, William F. Adams via Discuss <
discuss@lists.openscad.org> wrote:

On Monday, January 27, 2025 at 11:35:02 AM EST, Sanjeev Prabhakar via

check this openscad file. Don't look at the code.

FWIW, this is pretty easy to do by hiding the editor Window:


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

Is this automatic? Or do you have to change any setting options? EBo -- On Mon, Jan 27, 2025 at 6:41 PM tsingi via Discuss < discuss@lists.openscad.org> wrote: > I always have that window closed. I edit in gvim, OpenScad watches the > file and updates when it changes. > I LOVE that. > > Sent with Proton Mail secure email. > > On Monday, January 27th, 2025 at 6:36 PM, William F. Adams via Discuss < > discuss@lists.openscad.org> wrote: > > > On Monday, January 27, 2025 at 11:35:02 AM EST, Sanjeev Prabhakar via > Discuss discuss@lists.openscad.org wrote: > > > > > check this openscad file. Don't look at the code. > > > > > > FWIW, this is pretty easy to do by hiding the editor Window: > > > > _______________________________________________ > > 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 >
MH
Matthieu Hendriks
Tue, Jan 28, 2025 12:18 PM

You have to compile from source code.

Met vriendelijke groet,

Matthieu Hendriks


email: mhendriks@digirent.nl
Telf: 06-52371841
LinkedIn: https://www.linkedin.com/in/digirent/

Sanjeev Prabhakar via Discuss schreef op 2025-01-28 12:24:

Is gvim works for macbook air m1?
In case yes, how do I install this?

On Tue, 28 Jan, 2025, 2:47 pm Matthieu Hendriks via Discuss,
discuss@lists.openscad.org wrote:

I've changed the source code of openscad to automatically open gvim as
an editor, when I switch between the tabs in openscad the gvim switches
also.

The editor window stayes minimized, other wise you're not able to
switch between the tabs.

If interested I can share the code-changes.

Met vriendelijke groet,

Matthieu Hendriks

tsingi via Discuss schreef op 2025-01-28 00:40:
I always have that window closed.  I edit in gvim, OpenScad watches the
file and updates when it changes.
I LOVE that.

Sent with Proton Mail secure email.

On Monday, January 27th, 2025 at 6:36 PM, William F. Adams via Discuss
discuss@lists.openscad.org wrote:

On Monday, January 27, 2025 at 11:35:02 AM EST, Sanjeev Prabhakar via
Discuss discuss@lists.openscad.org wrote:

check this openscad file. Don't look at the code.

FWIW, this is pretty easy to do by hiding the editor Window:


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

You have to compile from source code. Met vriendelijke groet, Matthieu Hendriks ------------------------- email: mhendriks@digirent.nl Telf: 06-52371841 LinkedIn: https://www.linkedin.com/in/digirent/ Sanjeev Prabhakar via Discuss schreef op 2025-01-28 12:24: > Is gvim works for macbook air m1? > In case yes, how do I install this? > > On Tue, 28 Jan, 2025, 2:47 pm Matthieu Hendriks via Discuss, > <discuss@lists.openscad.org> wrote: > > I've changed the source code of openscad to automatically open gvim as > an editor, when I switch between the tabs in openscad the gvim switches > also. > > The editor window stayes minimized, other wise you're not able to > switch between the tabs. > > If interested I can share the code-changes. > > Met vriendelijke groet, > > Matthieu Hendriks > > tsingi via Discuss schreef op 2025-01-28 00:40: > I always have that window closed. I edit in gvim, OpenScad watches the > file and updates when it changes. > I LOVE that. > > Sent with Proton Mail secure email. > > On Monday, January 27th, 2025 at 6:36 PM, William F. Adams via Discuss > <discuss@lists.openscad.org> wrote: > > On Monday, January 27, 2025 at 11:35:02 AM EST, Sanjeev Prabhakar via > Discuss discuss@lists.openscad.org wrote: > > check this openscad file. Don't look at the code. > > FWIW, this is pretty easy to do by hiding the editor Window: > > _______________________________________________ > 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
JB
Jordan Brown
Tue, Jan 28, 2025 2:32 PM

On 1/28/2025 3:46 AM, John David via Discuss wrote:

I always have that window closed.  I edit in gvim, OpenScad watches
the file and updates when it changes.

Is this automatic?  Or do you have to change any setting options?

Ensure that "Design / Automatic Reload and Preview" is checked.

On 1/28/2025 3:46 AM, John David via Discuss wrote: >> I always have that window closed.  I edit in gvim, OpenScad watches >> the file and updates when it changes. > Is this automatic?  Or do you have to change any setting options? > Ensure that "Design / Automatic Reload and Preview" is checked.
RW
Raymond West
Tue, Jan 28, 2025 7:13 PM

I  find, that the automatic preload is useful, but a bit of a pita with
the preview. If I have a script that takes a long time to preview,
because maybe too much Minkowski/whatever, and I cancel the run, when I
open it in the external editor, to edit it, it automatically starts
running again, so I have to go into the openscad editor tabs to turn
that feature off. Also, I find that now, in many instances, manifold is
much faster than the preview editor.

On 28/01/2025 14:32, Jordan Brown via Discuss wrote:

On 1/28/2025 3:46 AM, John David via Discuss wrote:

I always have that window closed.  I edit in gvim, OpenScad watches
the file and updates when it changes.
Is this automatic?  Or do you have to change any setting options?

Ensure that "Design / Automatic Reload and Preview" is checked.


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

I  find, that the automatic preload is useful, but a bit of a pita with the preview. If I have a script that takes a long time to preview, because maybe too much Minkowski/whatever, and I cancel the run, when I open it in the external editor, to edit it, it automatically starts running again, so I have to go into the openscad editor tabs to turn that feature off. Also, I find that now, in many instances, manifold is much faster than the preview editor. On 28/01/2025 14:32, Jordan Brown via Discuss wrote: > On 1/28/2025 3:46 AM, John David via Discuss wrote: >>> I always have that window closed.  I edit in gvim, OpenScad watches >>> the file and updates when it changes. >> Is this automatic?  Or do you have to change any setting options? >> > > Ensure that "Design / Automatic Reload and Preview" is checked. > > > > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org
AC
A. Craig West
Tue, Jan 28, 2025 10:51 PM

I often include conditionals that do things like reduce $fn in preview to
speed up rendering time

On Tue, 28 Jan 2025 at 15:00, Glenn Butcher via Discuss <
discuss@lists.openscad.org> wrote:

Yep, this.

Working a script right now with complex height map textures, I have to
comment out the hard part before I save it to finish the session, so it
doesn't auto-preview when I open it again.

So, I should probably put a render() on the hard part, no?

On January 28, 2025 1:13:36 PM CST, Raymond West via Discuss <
discuss@lists.openscad.org> wrote:

I  find, that the automatic preload is useful, but a bit of a pita with the preview. If I have a script that takes a long time to preview, because maybe too much Minkowski/whatever, and I cancel the run, when I open it in the external editor, to edit it, it automatically starts running again, so I have to go into the openscad editor tabs to turn that feature off. Also, I find that now, in many instances, manifold is much faster than the preview editor.

On 28/01/2025 14:32, Jordan Brown via Discuss wrote:

On 1/28/2025 3:46 AM, John David via Discuss wrote:

I always have that window closed.  I edit in gvim, OpenScad watches the file and updates when it changes.

Is this automatic?  Or do you have to change any setting options?

Ensure that "Design / Automatic Reload and Preview" is checked.

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

--

Sent from my Android device with K-9 Mail. Please excuse my brevity.


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

I often include conditionals that do things like reduce $fn in preview to speed up rendering time On Tue, 28 Jan 2025 at 15:00, Glenn Butcher via Discuss < discuss@lists.openscad.org> wrote: > Yep, this. > > Working a script right now with complex height map textures, I have to > comment out the hard part before I save it to finish the session, so it > doesn't auto-preview when I open it again. > > So, I should probably put a render() on the hard part, no? > > > On January 28, 2025 1:13:36 PM CST, Raymond West via Discuss < > discuss@lists.openscad.org> wrote: > >> I find, that the automatic preload is useful, but a bit of a pita with the preview. If I have a script that takes a long time to preview, because maybe too much Minkowski/whatever, and I cancel the run, when I open it in the external editor, to edit it, it automatically starts running again, so I have to go into the openscad editor tabs to turn that feature off. Also, I find that now, in many instances, manifold is much faster than the preview editor. >> >> On 28/01/2025 14:32, Jordan Brown via Discuss wrote: >> >>> On 1/28/2025 3:46 AM, John David via Discuss wrote: >>> >>>> I always have that window closed. I edit in gvim, OpenScad watches the file and updates when it changes. >>>>> >>>> Is this automatic? Or do you have to change any setting options? >>>> >>>> >>> Ensure that "Design / Automatic Reload and Preview" is checked. >>> ------------------------------ >>> 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 >> >> -- > Sent from my Android device with K-9 Mail. Please excuse my brevity. > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org >
GB
Glenn Butcher
Tue, Jan 28, 2025 10:58 PM

Yep, this.

Working a script right now with complex height map textures, I have to comment out the hard part before I save it to finish the session, so it doesn't auto-preview when I open it again.

So, I should probably put a render() on the hard part, no?

On January 28, 2025 1:13:36 PM CST, Raymond West via Discuss discuss@lists.openscad.org wrote:

I  find, that the automatic preload is useful, but a bit of a pita with the preview. If I have a script that takes a long time to preview, because maybe too much Minkowski/whatever, and I cancel the run, when I open it in the external editor, to edit it, it automatically starts running again, so I have to go into the openscad editor tabs to turn that feature off. Also, I find that now, in many instances, manifold is much faster than the preview editor.

On 28/01/2025 14:32, Jordan Brown via Discuss wrote:

On 1/28/2025 3:46 AM, John David via Discuss wrote:

I always have that window closed.  I edit in gvim, OpenScad watches the file and updates when it changes.

Is this automatic?  Or do you have to change any setting options?

Ensure that "Design / Automatic Reload and Preview" is checked.


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

--
Sent from my Android device with K-9 Mail. Please excuse my brevity.

Yep, this. Working a script right now with complex height map textures, I have to comment out the hard part before I save it to finish the session, so it doesn't auto-preview when I open it again. So, I should probably put a render() on the hard part, no? On January 28, 2025 1:13:36 PM CST, Raymond West via Discuss <discuss@lists.openscad.org> wrote: >I  find, that the automatic preload is useful, but a bit of a pita with the preview. If I have a script that takes a long time to preview, because maybe too much Minkowski/whatever, and I cancel the run, when I open it in the external editor, to edit it, it automatically starts running again, so I have to go into the openscad editor tabs to turn that feature off. Also, I find that now, in many instances, manifold is much faster than the preview editor. > >On 28/01/2025 14:32, Jordan Brown via Discuss wrote: >> On 1/28/2025 3:46 AM, John David via Discuss wrote: >>>> I always have that window closed.  I edit in gvim, OpenScad watches the file and updates when it changes. >>> Is this automatic?  Or do you have to change any setting options? >>> >> >> Ensure that "Design / Automatic Reload and Preview" is checked. >> >> >> >> _______________________________________________ >> 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 -- Sent from my Android device with K-9 Mail. Please excuse my brevity.
DP
Dan Perry
Wed, Jan 29, 2025 10:06 AM

You can use the $preview in other places to speed preview: ex:  for
(a=[0:$preview ? 1 : 10]) {...}.
Dan

On Tue, Jan 28, 2025 at 10:51 PM A. Craig West via Discuss <
discuss@lists.openscad.org> wrote:

I often include conditionals that do things like reduce $fn in preview to
speed up rendering time

On Tue, 28 Jan 2025 at 15:00, Glenn Butcher via Discuss <
discuss@lists.openscad.org> wrote:

Yep, this.

Working a script right now with complex height map textures, I have to
comment out the hard part before I save it to finish the session, so it
doesn't auto-preview when I open it again.

So, I should probably put a render() on the hard part, no?

On January 28, 2025 1:13:36 PM CST, Raymond West via Discuss <
discuss@lists.openscad.org> wrote:

I  find, that the automatic preload is useful, but a bit of a pita with the preview. If I have a script that takes a long time to preview, because maybe too much Minkowski/whatever, and I cancel the run, when I open it in the external editor, to edit it, it automatically starts running again, so I have to go into the openscad editor tabs to turn that feature off. Also, I find that now, in many instances, manifold is much faster than the preview editor.

On 28/01/2025 14:32, Jordan Brown via Discuss wrote:

On 1/28/2025 3:46 AM, John David via Discuss wrote:

I always have that window closed.  I edit in gvim, OpenScad watches the file and updates when it changes.

Is this automatic?  Or do you have to change any setting options?

Ensure that "Design / Automatic Reload and Preview" is checked.

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

--

Sent from my Android device with K-9 Mail. Please excuse my brevity.


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

You can use the $preview in other places to speed preview: ex: for (a=[0:$preview ? 1 : 10]) {...}. Dan On Tue, Jan 28, 2025 at 10:51 PM A. Craig West via Discuss < discuss@lists.openscad.org> wrote: > I often include conditionals that do things like reduce $fn in preview to > speed up rendering time > > On Tue, 28 Jan 2025 at 15:00, Glenn Butcher via Discuss < > discuss@lists.openscad.org> wrote: > >> Yep, this. >> >> Working a script right now with complex height map textures, I have to >> comment out the hard part before I save it to finish the session, so it >> doesn't auto-preview when I open it again. >> >> So, I should probably put a render() on the hard part, no? >> >> >> On January 28, 2025 1:13:36 PM CST, Raymond West via Discuss < >> discuss@lists.openscad.org> wrote: >> >>> I find, that the automatic preload is useful, but a bit of a pita with the preview. If I have a script that takes a long time to preview, because maybe too much Minkowski/whatever, and I cancel the run, when I open it in the external editor, to edit it, it automatically starts running again, so I have to go into the openscad editor tabs to turn that feature off. Also, I find that now, in many instances, manifold is much faster than the preview editor. >>> >>> On 28/01/2025 14:32, Jordan Brown via Discuss wrote: >>> >>>> On 1/28/2025 3:46 AM, John David via Discuss wrote: >>>> >>>>> I always have that window closed. I edit in gvim, OpenScad watches the file and updates when it changes. >>>>>> >>>>> Is this automatic? Or do you have to change any setting options? >>>>> >>>>> >>>> Ensure that "Design / Automatic Reload and Preview" is checked. >>>> ------------------------------ >>>> 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 >>> >>> -- >> Sent from my Android device with K-9 Mail. Please excuse my brevity. >> _______________________________________________ >> 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 >
IN
Ian Nichols
Wed, Jan 29, 2025 11:36 AM

Being a simplistic sort of person, I'd approximate that with  a hull of
four ellipsoids, i.e. take a sphere stretched in two axes to make an
ellipsoid, repeat that for each of the corners and make a hull from those
four.
I doubt that's the most efficient way to do it though.

$fn=64;

translate([0,-20,0]) ellipsoid(5);

ellipsoid_array();

translate([0,20,0]) hull() ellipsoid_array();

module ellipsoid_array()
union() {
translate([0,0,0]) ellipsoid(5);
translate([16,0,0]) ellipsoid(5);
translate([16,0,5]) ellipsoid(5);
translate([0,0,5]) ellipsoid(5);
}

module ellipsoid(radius)
scale ([1.75,1,1.75]) sphere (r=radius);

On Mon, 27 Jan 2025 at 16:11, Sanjeev Prabhakar via Discuss <
discuss@lists.openscad.org> wrote:

I was just wondering how would you develop a simple rounded shape like
below in pure openSCAD:
[image: Screenshot 2025-01-27 at 9.32.21 PM.png]
[image: Screenshot 2025-01-27 at 9.33.13 PM.png][image: Screenshot
2025-01-27 at 9.34.02 PM.png][image: Screenshot 2025-01-27 at
9.35.07 PM.png]


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

--
Stand firm for what you believe in, until and unless logic and experience
prove you wrong.  Remember: when the emperor looks naked, the emperor is
naked, the truth and a lie are not "sort-of the same thing" and there is
no aspect, no facet, no moment of life that can't be improved with pizza.

-Daria Morgendorffer

Being a simplistic sort of person, I'd approximate that with a hull of four ellipsoids, i.e. take a sphere stretched in two axes to make an ellipsoid, repeat that for each of the corners and make a hull from those four. I doubt that's the most efficient way to do it though. $fn=64; translate([0,-20,0]) ellipsoid(5); ellipsoid_array(); translate([0,20,0]) hull() ellipsoid_array(); module ellipsoid_array() union() { translate([0,0,0]) ellipsoid(5); translate([16,0,0]) ellipsoid(5); translate([16,0,5]) ellipsoid(5); translate([0,0,5]) ellipsoid(5); } module ellipsoid(radius) scale ([1.75,1,1.75]) sphere (r=radius); On Mon, 27 Jan 2025 at 16:11, Sanjeev Prabhakar via Discuss < discuss@lists.openscad.org> wrote: > I was just wondering how would you develop a simple rounded shape like > below in pure openSCAD: > [image: Screenshot 2025-01-27 at 9.32.21 PM.png] > [image: Screenshot 2025-01-27 at 9.33.13 PM.png][image: Screenshot > 2025-01-27 at 9.34.02 PM.png][image: Screenshot 2025-01-27 at > 9.35.07 PM.png] > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org > -- Stand firm for what you believe in, until and unless logic and experience prove you wrong. Remember: when the emperor looks naked, the emperor *is* naked, the truth and a lie are not "sort-of the same thing" and there is no aspect, no facet, no moment of life that can't be improved with pizza. -Daria Morgendorffer