discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

example of seemingly simple model

RW
Rogier Wolff
Mon, Mar 25, 2024 9:09 AM

On Sat, Mar 23, 2024 at 10:07:31AM -0400, Marius Kintel wrote:

cam_upper_lid
cam_upper_part

I just tested this on the latest master build and they work fine
with Manifold enabled.

Correct! I thought nothing significant would've changed in the past
month or so as I didn't see any big announcements.

Verfied: Version mid-february still shows the problem. Version march23
does not.

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 Sat, Mar 23, 2024 at 10:07:31AM -0400, Marius Kintel wrote: > >>> cam_upper_lid > >>> cam_upper_part > I just tested this on the latest master build and they work fine > with Manifold enabled. Correct! I thought nothing significant would've changed in the past month or so as I didn't see any big announcements. Verfied: Version mid-february still shows the problem. Version march23 does not. 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.
MK
Marius Kintel
Mon, Mar 25, 2024 2:25 PM

On Mar 25, 2024, at 05:09, Rogier Wolff R.E.Wolff@BitWizard.nl wrote:

I just tested this on the latest master build and they work fine
with Manifold enabled.

Correct! I thought nothing significant would've changed in the past
month or so as I didn't see any big announcements.

The big announcement will come once Manifold moves out of experimental :)
We doing a lot of small fixes these days, some of which will enable us to process previously tricky corner cases.

-Marius

> On Mar 25, 2024, at 05:09, Rogier Wolff <R.E.Wolff@BitWizard.nl> wrote: > >> I just tested this on the latest master build and they work fine >> with Manifold enabled. > > Correct! I thought nothing significant would've changed in the past > month or so as I didn't see any big announcements. > The big announcement will come once Manifold moves out of experimental :) We doing a lot of small fixes these days, some of which will enable us to process previously tricky corner cases. -Marius
SP
Sanjeev Prabhakar
Fri, Mar 29, 2024 4:19 PM

Even the latest version 28-03-2024 has the same issue with manifold.

Luckily I have a 14th Jan 2024 version which works perfectly without any
errors.

On Mon, 25 Mar 2024 at 19:56, Marius Kintel via Discuss <
discuss@lists.openscad.org> wrote:

On Mar 25, 2024, at 05:09, Rogier Wolff R.E.Wolff@BitWizard.nl wrote:

I just tested this on the latest master build and they work fine
with Manifold enabled.

Correct! I thought nothing significant would've changed in the past
month or so as I didn't see any big announcements.

The big announcement will come once Manifold moves out of experimental :)
We doing a lot of small fixes these days, some of which will enable us to
process previously tricky corner cases.

-Marius


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

Even the latest version 28-03-2024 has the same issue with manifold. Luckily I have a 14th Jan 2024 version which works perfectly without any errors. On Mon, 25 Mar 2024 at 19:56, Marius Kintel via Discuss < discuss@lists.openscad.org> wrote: > > On Mar 25, 2024, at 05:09, Rogier Wolff <R.E.Wolff@BitWizard.nl> wrote: > > > >> I just tested this on the latest master build and they work fine > >> with Manifold enabled. > > > > Correct! I thought nothing significant would've changed in the past > > month or so as I didn't see any big announcements. > > > The big announcement will come once Manifold moves out of experimental :) > We doing a lot of small fixes these days, some of which will enable us to > process previously tricky corner cases. > > -Marius > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org >
MK
Marius Kintel
Fri, Mar 29, 2024 7:47 PM

Sanjeev, can you post an example which is broken with 2024-03-28 ?

-Marius

On Mar 29, 2024, at 12:19, Sanjeev Prabhakar <sprabhakar2006@gmail.com> wrote:

Even the latest version 28-03-2024 has the same issue with manifold.

Luckily I have a 14th Jan 2024 version which works perfectly without any errors.

On Mon, 25 Mar 2024 at 19:56, Marius Kintel via Discuss <discuss@lists.openscad.org> wrote:

> On Mar 25, 2024, at 05:09, Rogier Wolff <R.E.Wolff@BitWizard.nl> wrote:
>
>> I just tested this on the latest master build and they work fine
>> with Manifold enabled.
>
> Correct! I thought nothing significant would've changed in the past
> month or so as I didn't see any big announcements.
>
The big announcement will come once Manifold moves out of experimental :)
We doing a lot of small fixes these days, some of which will enable us to process previously tricky corner cases.

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

SP
Sanjeev Prabhakar
Fri, Mar 29, 2024 11:15 PM

Hi Marius,
This same example of Hook has this issue:
you can download it from here:
https://github.com/sprabhakar2006/openSCAD/blob/main/hook.scad

In case any issue in downloading, will send the file through mail
Regards
Sanjeev

On Sat, 30 Mar 2024 at 01:18, Marius Kintel marius@kintel.net wrote:

Sanjeev, can you post an example which is broken with 2024-03-28 ?

-Marius

On Mar 29, 2024, at 12:19, Sanjeev Prabhakar sprabhakar2006@gmail.com
wrote:


Even the latest version 28-03-2024 has the same issue with manifold.

Luckily I have a 14th Jan 2024 version which works perfectly without any
errors.

On Mon, 25 Mar 2024 at 19:56, Marius Kintel via Discuss <
discuss@lists.openscad.org> wrote:

On Mar 25, 2024, at 05:09, Rogier Wolff R.E.Wolff@BitWizard.nl wrote:

I just tested this on the latest master build and they work fine
with Manifold enabled.

Correct! I thought nothing significant would've changed in the past
month or so as I didn't see any big announcements.

The big announcement will come once Manifold moves out of experimental :)
We doing a lot of small fixes these days, some of which will enable us to
process previously tricky corner cases.

-Marius


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

Hi Marius, This same example of Hook has this issue: you can download it from here: https://github.com/sprabhakar2006/openSCAD/blob/main/hook.scad In case any issue in downloading, will send the file through mail Regards Sanjeev On Sat, 30 Mar 2024 at 01:18, Marius Kintel <marius@kintel.net> wrote: > Sanjeev, can you post an example which is broken with 2024-03-28 ? > > -Marius > > On Mar 29, 2024, at 12:19, Sanjeev Prabhakar <sprabhakar2006@gmail.com> > wrote: > >  > Even the latest version 28-03-2024 has the same issue with manifold. > > Luckily I have a 14th Jan 2024 version which works perfectly without any > errors. > > > On Mon, 25 Mar 2024 at 19:56, Marius Kintel via Discuss < > discuss@lists.openscad.org> wrote: > >> > On Mar 25, 2024, at 05:09, Rogier Wolff <R.E.Wolff@BitWizard.nl> wrote: >> > >> >> I just tested this on the latest master build and they work fine >> >> with Manifold enabled. >> > >> > Correct! I thought nothing significant would've changed in the past >> > month or so as I didn't see any big announcements. >> > >> The big announcement will come once Manifold moves out of experimental :) >> We doing a lot of small fixes these days, some of which will enable us to >> process previously tricky corner cases. >> >> -Marius >> _______________________________________________ >> OpenSCAD mailing list >> To unsubscribe send an email to discuss-leave@lists.openscad.org >> >
MK
Marius Kintel
Sat, Mar 30, 2024 3:47 AM

Sanjeev,

Oh, you’re referring to that it stops on a warning if you have “stop on first warning” enabled?

We’re considering whether or not we should issue warnings on user-supplied non-manifold topologies, but the easy workaround is to disable that setting in preferences.

-Marius

On Mar 29, 2024, at 19:15, Sanjeev Prabhakar sprabhakar2006@gmail.com wrote:

Hi Marius,
This same example of Hook has this issue:
you can download it from here:
https://github.com/sprabhakar2006/openSCAD/blob/main/hook.scad

In case any issue in downloading, will send the file through mail
Regards
Sanjeev

On Sat, 30 Mar 2024 at 01:18, Marius Kintel <marius@kintel.net mailto:marius@kintel.net> wrote:

Sanjeev, can you post an example which is broken with 2024-03-28 ?

-Marius

On Mar 29, 2024, at 12:19, Sanjeev Prabhakar <sprabhakar2006@gmail.com mailto:sprabhakar2006@gmail.com> wrote:


Even the latest version 28-03-2024 has the same issue with manifold.

Luckily I have a 14th Jan 2024 version which works perfectly without any errors.

On Mon, 25 Mar 2024 at 19:56, Marius Kintel via Discuss <discuss@lists.openscad.org mailto:discuss@lists.openscad.org> wrote:

On Mar 25, 2024, at 05:09, Rogier Wolff R.E.Wolff@BitWizard.nl wrote:

I just tested this on the latest master build and they work fine
with Manifold enabled.

Correct! I thought nothing significant would've changed in the past
month or so as I didn't see any big announcements.

The big announcement will come once Manifold moves out of experimental :)
We doing a lot of small fixes these days, some of which will enable us to process previously tricky corner cases.

-Marius


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

Sanjeev, Oh, you’re referring to that it stops on a warning if you have “stop on first warning” enabled? We’re considering whether or not we should issue warnings on user-supplied non-manifold topologies, but the easy workaround is to disable that setting in preferences. -Marius > On Mar 29, 2024, at 19:15, Sanjeev Prabhakar <sprabhakar2006@gmail.com> wrote: > > Hi Marius, > This same example of Hook has this issue: > you can download it from here: > https://github.com/sprabhakar2006/openSCAD/blob/main/hook.scad > > In case any issue in downloading, will send the file through mail > Regards > Sanjeev > > On Sat, 30 Mar 2024 at 01:18, Marius Kintel <marius@kintel.net <mailto:marius@kintel.net>> wrote: >> Sanjeev, can you post an example which is broken with 2024-03-28 ? >> >> -Marius >> >>> On Mar 29, 2024, at 12:19, Sanjeev Prabhakar <sprabhakar2006@gmail.com <mailto:sprabhakar2006@gmail.com>> wrote: >>> >>>  >>> Even the latest version 28-03-2024 has the same issue with manifold. >>> >>> Luckily I have a 14th Jan 2024 version which works perfectly without any errors. >>> >>> >>> On Mon, 25 Mar 2024 at 19:56, Marius Kintel via Discuss <discuss@lists.openscad.org <mailto:discuss@lists.openscad.org>> wrote: >>>> > On Mar 25, 2024, at 05:09, Rogier Wolff <R.E.Wolff@BitWizard.nl> wrote: >>>> > >>>> >> I just tested this on the latest master build and they work fine >>>> >> with Manifold enabled. >>>> > >>>> > Correct! I thought nothing significant would've changed in the past >>>> > month or so as I didn't see any big announcements. >>>> > >>>> The big announcement will come once Manifold moves out of experimental :) >>>> We doing a lot of small fixes these days, some of which will enable us to process previously tricky corner cases. >>>> >>>> -Marius >>>> _______________________________________________ >>>> OpenSCAD mailing list >>>> To unsubscribe send an email to discuss-leave@lists.openscad.org <mailto:discuss-leave@lists.openscad.org>
SP
Sanjeev Prabhakar
Sat, Mar 30, 2024 4:12 AM

Hi Marius,
Ok, Thanks for the clarification.
Yes with the "stop on first warning" disabled, it is OK.
Regards
Sanjeev

On Sat, 30 Mar 2024 at 09:17, Marius Kintel marius@kintel.net wrote:

Sanjeev,

Oh, you’re referring to that it stops on a warning if you have “stop on
first warning” enabled?

We’re considering whether or not we should issue warnings on user-supplied
non-manifold topologies, but the easy workaround is to disable that setting
in preferences.

-Marius

On Mar 29, 2024, at 19:15, Sanjeev Prabhakar sprabhakar2006@gmail.com
wrote:

Hi Marius,
This same example of Hook has this issue:
you can download it from here:
https://github.com/sprabhakar2006/openSCAD/blob/main/hook.scad

In case any issue in downloading, will send the file through mail
Regards
Sanjeev

On Sat, 30 Mar 2024 at 01:18, Marius Kintel marius@kintel.net wrote:

Sanjeev, can you post an example which is broken with 2024-03-28 ?

-Marius

On Mar 29, 2024, at 12:19, Sanjeev Prabhakar sprabhakar2006@gmail.com
wrote:


Even the latest version 28-03-2024 has the same issue with manifold.

Luckily I have a 14th Jan 2024 version which works perfectly without any
errors.

On Mon, 25 Mar 2024 at 19:56, Marius Kintel via Discuss <
discuss@lists.openscad.org> wrote:

On Mar 25, 2024, at 05:09, Rogier Wolff R.E.Wolff@BitWizard.nl

wrote:

I just tested this on the latest master build and they work fine
with Manifold enabled.

Correct! I thought nothing significant would've changed in the past
month or so as I didn't see any big announcements.

The big announcement will come once Manifold moves out of experimental :)
We doing a lot of small fixes these days, some of which will enable us
to process previously tricky corner cases.

-Marius


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

Hi Marius, Ok, Thanks for the clarification. Yes with the "stop on first warning" disabled, it is OK. Regards Sanjeev On Sat, 30 Mar 2024 at 09:17, Marius Kintel <marius@kintel.net> wrote: > Sanjeev, > > Oh, you’re referring to that it stops on a warning if you have “stop on > first warning” enabled? > > We’re considering whether or not we should issue warnings on user-supplied > non-manifold topologies, but the easy workaround is to disable that setting > in preferences. > > -Marius > > On Mar 29, 2024, at 19:15, Sanjeev Prabhakar <sprabhakar2006@gmail.com> > wrote: > > Hi Marius, > This same example of Hook has this issue: > you can download it from here: > https://github.com/sprabhakar2006/openSCAD/blob/main/hook.scad > > In case any issue in downloading, will send the file through mail > Regards > Sanjeev > > On Sat, 30 Mar 2024 at 01:18, Marius Kintel <marius@kintel.net> wrote: > >> Sanjeev, can you post an example which is broken with 2024-03-28 ? >> >> -Marius >> >> On Mar 29, 2024, at 12:19, Sanjeev Prabhakar <sprabhakar2006@gmail.com> >> wrote: >> >>  >> Even the latest version 28-03-2024 has the same issue with manifold. >> >> Luckily I have a 14th Jan 2024 version which works perfectly without any >> errors. >> >> >> On Mon, 25 Mar 2024 at 19:56, Marius Kintel via Discuss < >> discuss@lists.openscad.org> wrote: >> >>> > On Mar 25, 2024, at 05:09, Rogier Wolff <R.E.Wolff@BitWizard.nl> >>> wrote: >>> > >>> >> I just tested this on the latest master build and they work fine >>> >> with Manifold enabled. >>> > >>> > Correct! I thought nothing significant would've changed in the past >>> > month or so as I didn't see any big announcements. >>> > >>> The big announcement will come once Manifold moves out of experimental :) >>> We doing a lot of small fixes these days, some of which will enable us >>> to process previously tricky corner cases. >>> >>> -Marius >>> _______________________________________________ >>> OpenSCAD mailing list >>> To unsubscribe send an email to discuss-leave@lists.openscad.org >>> >> >
RW
Rogier Wolff
Sat, Mar 30, 2024 8:58 AM

On Fri, Mar 29, 2024 at 11:47:39PM -0400, Marius Kintel via Discuss wrote:

Oh, you’re referring to that it stops on a warning if you have
“stop on first warning” enabled?

That's a "works as designed". I remember posting something to that
effect before.

We’re considering whether or not we should issue warnings on
user-supplied non-manifold topologies, but the easy workaround is to
disable that setting in preferences.

OK! I vote: YES, complain on creation of the object that it is not
manifold.

I remember in the old days, say:

difference () {
        cube ([40,40,20]);
    translate ([2,2,2]) cube ([36,36,18]);
    }
    translate ([20,20,2]) cylinder (d=10,h=5);

would throw errors when rendering or result in unusable STLs. That
would be annoying because you'd have no clue where in your design you
did something wrong and it would be hard-to-find when the design is
real-world and not this simple example.

Issue a warning when importing or creating an object that is not
manifold.

Maybe it shouldn't be an error: If you cut off the part that has the
anomaly, then it might still be OK. That might be exactly the reason
the object is being manipulated in openscad.

Roger. 

-Marius

On Mar 29, 2024, at 19:15, Sanjeev Prabhakar sprabhakar2006@gmail.com wrote:

Hi Marius,
This same example of Hook has this issue:
you can download it from here:
https://github.com/sprabhakar2006/openSCAD/blob/main/hook.scad

In case any issue in downloading, will send the file through mail
Regards
Sanjeev

On Sat, 30 Mar 2024 at 01:18, Marius Kintel <marius@kintel.net mailto:marius@kintel.net> wrote:

Sanjeev, can you post an example which is broken with 2024-03-28 ?

-Marius

On Mar 29, 2024, at 12:19, Sanjeev Prabhakar <sprabhakar2006@gmail.com mailto:sprabhakar2006@gmail.com> wrote:


Even the latest version 28-03-2024 has the same issue with manifold.

Luckily I have a 14th Jan 2024 version which works perfectly without any errors.

On Mon, 25 Mar 2024 at 19:56, Marius Kintel via Discuss <discuss@lists.openscad.org mailto:discuss@lists.openscad.org> wrote:

On Mar 25, 2024, at 05:09, Rogier Wolff R.E.Wolff@BitWizard.nl wrote:

I just tested this on the latest master build and they work fine
with Manifold enabled.

Correct! I thought nothing significant would've changed in the past
month or so as I didn't see any big announcements.

The big announcement will come once Manifold moves out of experimental :)
We doing a lot of small fixes these days, some of which will enable us to process previously tricky corner cases.

-Marius


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


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 Fri, Mar 29, 2024 at 11:47:39PM -0400, Marius Kintel via Discuss wrote: > Oh, you’re referring to that it stops on a warning if you have > “stop on first warning” enabled? That's a "works as designed". I remember posting something to that effect before. > We’re considering whether or not we should issue warnings on > user-supplied non-manifold topologies, but the easy workaround is to > disable that setting in preferences. OK! I vote: YES, complain on creation of the object that it is not manifold. I remember in the old days, say: difference () { cube ([40,40,20]); translate ([2,2,2]) cube ([36,36,18]); } translate ([20,20,2]) cylinder (d=10,h=5); would throw errors when rendering or result in unusable STLs. That would be annoying because you'd have no clue where in your design you did something wrong and it would be hard-to-find when the design is real-world and not this simple example. Issue a warning when importing or creating an object that is not manifold. Maybe it shouldn't be an error: If you cut off the part that has the anomaly, then it might still be OK. That might be exactly the reason the object is being manipulated in openscad. Roger. > > -Marius > > > On Mar 29, 2024, at 19:15, Sanjeev Prabhakar <sprabhakar2006@gmail.com> wrote: > > > > Hi Marius, > > This same example of Hook has this issue: > > you can download it from here: > > https://github.com/sprabhakar2006/openSCAD/blob/main/hook.scad > > > > In case any issue in downloading, will send the file through mail > > Regards > > Sanjeev > > > > On Sat, 30 Mar 2024 at 01:18, Marius Kintel <marius@kintel.net <mailto:marius@kintel.net>> wrote: > >> Sanjeev, can you post an example which is broken with 2024-03-28 ? > >> > >> -Marius > >> > >>> On Mar 29, 2024, at 12:19, Sanjeev Prabhakar <sprabhakar2006@gmail.com <mailto:sprabhakar2006@gmail.com>> wrote: > >>> > >>>  > >>> Even the latest version 28-03-2024 has the same issue with manifold. > >>> > >>> Luckily I have a 14th Jan 2024 version which works perfectly without any errors. > >>> > >>> > >>> On Mon, 25 Mar 2024 at 19:56, Marius Kintel via Discuss <discuss@lists.openscad.org <mailto:discuss@lists.openscad.org>> wrote: > >>>> > On Mar 25, 2024, at 05:09, Rogier Wolff <R.E.Wolff@BitWizard.nl> wrote: > >>>> > > >>>> >> I just tested this on the latest master build and they work fine > >>>> >> with Manifold enabled. > >>>> > > >>>> > Correct! I thought nothing significant would've changed in the past > >>>> > month or so as I didn't see any big announcements. > >>>> > > >>>> The big announcement will come once Manifold moves out of experimental :) > >>>> We doing a lot of small fixes these days, some of which will enable us to process previously tricky corner cases. > >>>> > >>>> -Marius > >>>> _______________________________________________ > >>>> OpenSCAD mailing list > >>>> To unsubscribe send an email to discuss-leave@lists.openscad.org <mailto:discuss-leave@lists.openscad.org> > > _______________________________________________ > 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.
MK
Marius Kintel
Sat, Mar 30, 2024 12:48 PM

In this case we issued a warning on a nonmanifold topology in a polyhedron(),  which we managed to repair and import correctly. We warned before attempting the repair.

On Mar 30, 2024, at 04:58, Rogier Wolff R.E.Wolff@bitwizard.nl wrote:

On Fri, Mar 29, 2024 at 11:47:39PM -0400, Marius Kintel via Discuss wrote:

Oh, you’re referring to that it stops on a warning if you have
“stop on first warning” enabled?

That's a "works as designed". I remember posting something to that
effect before.

We’re considering whether or not we should issue warnings on
user-supplied non-manifold topologies, but the easy workaround is to
disable that setting in preferences.

OK! I vote: YES, complain on creation of the object that it is not
manifold.

I remember in the old days, say:

difference () {
        cube ([40,40,20]);
    translate ([2,2,2]) cube ([36,36,18]);
    }
    translate ([20,20,2]) cylinder (d=10,h=5);

would throw errors when rendering or result in unusable STLs. That
would be annoying because you'd have no clue where in your design you
did something wrong and it would be hard-to-find when the design is
real-world and not this simple example.

Issue a warning when importing or creating an object that is not
manifold.

Maybe it shouldn't be an error: If you cut off the part that has the
anomaly, then it might still be OK. That might be exactly the reason
the object is being manipulated in openscad.

Roger.

-Marius

On Mar 29, 2024, at 19:15, Sanjeev Prabhakar sprabhakar2006@gmail.com wrote:

Hi Marius,
This same example of Hook has this issue:
you can download it from here:
https://github.com/sprabhakar2006/openSCAD/blob/main/hook.scad

In case any issue in downloading, will send the file through mail
Regards
Sanjeev

On Sat, 30 Mar 2024 at 01:18, Marius Kintel <marius@kintel.net mailto:marius@kintel.net> wrote:

Sanjeev, can you post an example which is broken with 2024-03-28 ?

-Marius

On Mar 29, 2024, at 12:19, Sanjeev Prabhakar <sprabhakar2006@gmail.com mailto:sprabhakar2006@gmail.com> wrote:


Even the latest version 28-03-2024 has the same issue with manifold.

Luckily I have a 14th Jan 2024 version which works perfectly without any errors.

On Mon, 25 Mar 2024 at 19:56, Marius Kintel via Discuss <discuss@lists.openscad.org mailto:discuss@lists.openscad.org> wrote:

On Mar 25, 2024, at 05:09, Rogier Wolff R.E.Wolff@BitWizard.nl wrote:

I just tested this on the latest master build and they work fine
with Manifold enabled.

Correct! I thought nothing significant would've changed in the past
month or so as I didn't see any big announcements.

The big announcement will come once Manifold moves out of experimental :)
We doing a lot of small fixes these days, some of which will enable us to process previously tricky corner cases.

-Marius


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


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.

In this case we issued a warning on a nonmanifold topology in a polyhedron(), which we managed to repair and import correctly. We warned before attempting the repair. > On Mar 30, 2024, at 04:58, Rogier Wolff <R.E.Wolff@bitwizard.nl> wrote: > > On Fri, Mar 29, 2024 at 11:47:39PM -0400, Marius Kintel via Discuss wrote: >> Oh, you’re referring to that it stops on a warning if you have >> “stop on first warning” enabled? > > That's a "works as designed". I remember posting something to that > effect before. > >> We’re considering whether or not we should issue warnings on >> user-supplied non-manifold topologies, but the easy workaround is to >> disable that setting in preferences. > > OK! I vote: YES, complain on creation of the object that it is not > manifold. > > I remember in the old days, say: > > difference () { > cube ([40,40,20]); > translate ([2,2,2]) cube ([36,36,18]); > } > translate ([20,20,2]) cylinder (d=10,h=5); > > would throw errors when rendering or result in unusable STLs. That > would be annoying because you'd have no clue where in your design you > did something wrong and it would be hard-to-find when the design is > real-world and not this simple example. > > Issue a warning when importing or creating an object that is not > manifold. > > Maybe it shouldn't be an error: If you cut off the part that has the > anomaly, then it might still be OK. That might be exactly the reason > the object is being manipulated in openscad. > > Roger. > > > >> >> -Marius >> >>>> On Mar 29, 2024, at 19:15, Sanjeev Prabhakar <sprabhakar2006@gmail.com> wrote: >>> >>> Hi Marius, >>> This same example of Hook has this issue: >>> you can download it from here: >>> https://github.com/sprabhakar2006/openSCAD/blob/main/hook.scad >>> >>> In case any issue in downloading, will send the file through mail >>> Regards >>> Sanjeev >>> >>> On Sat, 30 Mar 2024 at 01:18, Marius Kintel <marius@kintel.net <mailto:marius@kintel.net>> wrote: >>>> Sanjeev, can you post an example which is broken with 2024-03-28 ? >>>> >>>> -Marius >>>> >>>>> On Mar 29, 2024, at 12:19, Sanjeev Prabhakar <sprabhakar2006@gmail.com <mailto:sprabhakar2006@gmail.com>> wrote: >>>>> >>>>>  >>>>> Even the latest version 28-03-2024 has the same issue with manifold. >>>>> >>>>> Luckily I have a 14th Jan 2024 version which works perfectly without any errors. >>>>> >>>>> >>>>> On Mon, 25 Mar 2024 at 19:56, Marius Kintel via Discuss <discuss@lists.openscad.org <mailto:discuss@lists.openscad.org>> wrote: >>>>>>> On Mar 25, 2024, at 05:09, Rogier Wolff <R.E.Wolff@BitWizard.nl> wrote: >>>>>>> >>>>>>>> I just tested this on the latest master build and they work fine >>>>>>>> with Manifold enabled. >>>>>>> >>>>>>> Correct! I thought nothing significant would've changed in the past >>>>>>> month or so as I didn't see any big announcements. >>>>>>> >>>>>> The big announcement will come once Manifold moves out of experimental :) >>>>>> We doing a lot of small fixes these days, some of which will enable us to process previously tricky corner cases. >>>>>> >>>>>> -Marius >>>>>> _______________________________________________ >>>>>> OpenSCAD mailing list >>>>>> To unsubscribe send an email to discuss-leave@lists.openscad.org <mailto:discuss-leave@lists.openscad.org> >> > >> _______________________________________________ >> 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.
RW
Rogier Wolff
Sat, Mar 30, 2024 2:23 PM

On Sat, Mar 30, 2024 at 08:48:43AM -0400, Marius Kintel wrote:

In this case we issued a warning on a nonmanifold topology in a
polyhedron(), which we managed to repair and import correctly. We
warned before attempting the repair.

IMHO, "repairing" is always a bit fishy. The obvious repair may seem
obvious, but it is not guaranteed to have been the intent. In theory
it can be "wrong".

Suppose we have a cube with the top face missing. The obviously right
thing to do is to add two triangles closing the cube.

Now two of the vertices are raised a bit above the other two. Now you
can choose which diagonal to use and get different results is the two
cases.

Roger. 

s=20;

difference () {
cube ([s,s,s*(1+sqrt(.5))]);
translate ([0,0,s*(1+sqrt(.0))]) rotate ([0,-45,-45])cube ([s,2*s,s]);
}

translate ([1.5*s,0,0])

difference () {
cube ([s,s,s*(1+sqrt(.5))]);
translate ([0,0,s]) rotate ([0,-45,45])translate ([0,-s,0]) cube ([s,2s,s]);
translate ([s,s,s]) rotate ([0,-45,45])translate ([0,-s,0]) cube ([s,2
s,s]);
}

--
** 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 Sat, Mar 30, 2024 at 08:48:43AM -0400, Marius Kintel wrote: > In this case we issued a warning on a nonmanifold topology in a > polyhedron(), which we managed to repair and import correctly. We > warned before attempting the repair. IMHO, "repairing" is always a bit fishy. The obvious repair may seem obvious, but it is not guaranteed to have been the intent. In theory it can be "wrong". Suppose we have a cube with the top face missing. The obviously right thing to do is to add two triangles closing the cube. Now two of the vertices are raised a bit above the other two. Now you can choose which diagonal to use and get different results is the two cases. Roger. --------- s=20; difference () { cube ([s,s,s*(1+sqrt(.5))]); translate ([0,0,s*(1+sqrt(.0))]) rotate ([0,-45,-45])cube ([s,2*s,s]); } translate ([1.5*s,0,0]) difference () { cube ([s,s,s*(1+sqrt(.5))]); translate ([0,0,s]) rotate ([0,-45,45])translate ([0,-s,0]) cube ([s,2*s,s]); translate ([s,s,s]) rotate ([0,-45,45])translate ([0,-s,0]) cube ([s,2*s,s]); } -- ** 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.