discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

Problem with "Difference" and F5 ... (from Empathy)

T
Terry
Sat, Feb 19, 2022 4:55 PM

Dave,

I saw your post on the Empathy site. Not sure you realise that's rarely viewed
by those on the Mailing List, so I'll copy its content in this post.

I'm no expert but FWIW I tried your file with the free repair tool at
https://www.formware.co/onlinestlrepair
and got a rather unhelpful message that won't please you:
"Sorry, this file was not fixable: Error reading your file."

====================
Problem with "Difference" and F5 ...

Hi, I am running Openscad v2021.01 and am having problems with the following
script.

$fn=32;
difference()
{
union(){
import("base_slide_heavy_duty_HA.stl", 4);
hull(){
translate([22,-13,0]) color("red") cube([20,70,3]);
translate([35.5,-13,0]) color("green") cylinder(h=3, d=13);
translate([28.5,-19.5,0]) color("blue") cube([7,5,3]);
translate([24,57,0]) color("green")cylinder(h=3, d=4);
translate([40,57,0]) color("green")cylinder(h=3, d=4);
}
}
translate([25.8,-17,-1]) color("red")cylinder(h=5, d=3);
}

and when I hit F5 I get the following display

i.e. there are "holes" in the render.

If I comment out the difference() it appears correctly except the red cylinder
isn't subtracted :-

The "imported" .STL file is attached.

This is only a problem for the preview, the generated STL is fine.

What am I doing wrong ??

Regards,
Dave

Terry

Dave, I saw your post on the Empathy site. Not sure you realise that's rarely viewed by those on the Mailing List, so I'll copy its content in this post. I'm no expert but FWIW I tried your file with the free repair tool at https://www.formware.co/onlinestlrepair and got a rather unhelpful message that won't please you: "Sorry, this file was not fixable: Error reading your file." ==================== Problem with "Difference" and F5 ... ------------------------------------ Hi, I am running Openscad v2021.01 and am having problems with the following script. $fn=32; difference() { union(){ import("base_slide_heavy_duty_HA.stl", 4); hull(){ translate([22,-13,0]) color("red") cube([20,70,3]); translate([35.5,-13,0]) color("green") cylinder(h=3, d=13); translate([28.5,-19.5,0]) color("blue") cube([7,5,3]); translate([24,57,0]) color("green")cylinder(h=3, d=4); translate([40,57,0]) color("green")cylinder(h=3, d=4); } } translate([25.8,-17,-1]) color("red")cylinder(h=5, d=3); } and when I hit F5 I get the following display i.e. there are "holes" in the render. If I comment out the difference() it appears correctly except the red cylinder isn't subtracted :- The "imported" .STL file is attached. This is only a problem for the preview, the generated STL is fine. What am I doing wrong ?? Regards, Dave ==================== Terry
SP
Sanjeev Prabhakar
Sat, Feb 19, 2022 5:24 PM

stl file is not attached.
I have found that doing boolean operations on stls is a little tricky.
Many times it fails, complaining that the mesh is not closed.

On Sat, 19 Feb 2022 at 22:25, Terry terrypingm@gmail.com wrote:

Dave,

I saw your post on the Empathy site. Not sure you realise that's rarely
viewed
by those on the Mailing List, so I'll copy its content in this post.

I'm no expert but FWIW I tried your file with the free repair tool at
https://www.formware.co/onlinestlrepair
and got a rather unhelpful message that won't please you:
"Sorry, this file was not fixable: Error reading your file."

====================
Problem with "Difference" and F5 ...

Hi, I am running Openscad v2021.01 and am having problems with the
following
script.

$fn=32;
difference()
{
union(){
import("base_slide_heavy_duty_HA.stl", 4);
hull(){
translate([22,-13,0]) color("red") cube([20,70,3]);
translate([35.5,-13,0]) color("green") cylinder(h=3, d=13);
translate([28.5,-19.5,0]) color("blue") cube([7,5,3]);
translate([24,57,0]) color("green")cylinder(h=3, d=4);
translate([40,57,0]) color("green")cylinder(h=3, d=4);
}
}
translate([25.8,-17,-1]) color("red")cylinder(h=5, d=3);
}

and when I hit F5 I get the following display

i.e. there are "holes" in the render.

If I comment out the difference() it appears correctly except the red
cylinder
isn't subtracted :-

The "imported" .STL file is attached.

This is only a problem for the preview, the generated STL is fine.

What am I doing wrong ??

Regards,
Dave

Terry


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

stl file is not attached. I have found that doing boolean operations on stls is a little tricky. Many times it fails, complaining that the mesh is not closed. On Sat, 19 Feb 2022 at 22:25, Terry <terrypingm@gmail.com> wrote: > Dave, > > I saw your post on the Empathy site. Not sure you realise that's rarely > viewed > by those on the Mailing List, so I'll copy its content in this post. > > > I'm no expert but FWIW I tried your file with the free repair tool at > https://www.formware.co/onlinestlrepair > and got a rather unhelpful message that won't please you: > "Sorry, this file was not fixable: Error reading your file." > > ==================== > Problem with "Difference" and F5 ... > ------------------------------------ > Hi, I am running Openscad v2021.01 and am having problems with the > following > script. > > $fn=32; > difference() > { > union(){ > import("base_slide_heavy_duty_HA.stl", 4); > hull(){ > translate([22,-13,0]) color("red") cube([20,70,3]); > translate([35.5,-13,0]) color("green") cylinder(h=3, d=13); > translate([28.5,-19.5,0]) color("blue") cube([7,5,3]); > translate([24,57,0]) color("green")cylinder(h=3, d=4); > translate([40,57,0]) color("green")cylinder(h=3, d=4); > } > } > translate([25.8,-17,-1]) color("red")cylinder(h=5, d=3); > } > > and when I hit F5 I get the following display > > i.e. there are "holes" in the render. > > If I comment out the difference() it appears correctly except the red > cylinder > isn't subtracted :- > > The "imported" .STL file is attached. > > This is only a problem for the preview, the generated STL is fine. > > What am I doing wrong ?? > > Regards, > Dave > ==================== > > Terry > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org >
BL
Bryan Lee
Sat, Feb 19, 2022 5:32 PM

Similar.
Does anyone have a good workflow to ensure that your meshes are closed
before importing into OpenSCAD?

I was thinking yesterday about writing a script that calls MeshLab to
convert an STL into an OBJ, and then calls it again to convert back into an
STL, possibly unifying/dissolving points that were really close together.
And using this script to prep any models before importing them.

Thus Sanjeev Prabhakar hast written on Sat, Feb 19, 2022 at 10:54:21PM +0530, and, according to prophecy, it shall come to pass that:

stl file is not attached.
I have found that doing boolean operations on stls is a little tricky.
Many times it fails, complaining that the mesh is not closed.

Similar. Does anyone have a good workflow to ensure that your meshes are closed before importing into OpenSCAD? I was thinking yesterday about writing a script that calls MeshLab to convert an STL into an OBJ, and then calls it again to convert back into an STL, possibly unifying/dissolving points that were really close together. And using this script to prep any models before importing them. Thus Sanjeev Prabhakar hast written on Sat, Feb 19, 2022 at 10:54:21PM +0530, and, according to prophecy, it shall come to pass that: > stl file is not attached. > I have found that doing boolean operations on stls is a little tricky. > Many times it fails, complaining that the mesh is not closed.
D
Dave
Sat, Feb 19, 2022 5:39 PM

I didn't send it to the "Empathy" site (whatever that is).

Dave

On 19/02/2022 16:55, Terry wrote:

Dave,

I saw your post on the Empathy site. Not sure you realise that's rarely viewed
by those on the Mailing List, so I'll copy its content in this post.

I'm no expert but FWIW I tried your file with the free repair tool at
https://www.formware.co/onlinestlrepair
and got a rather unhelpful message that won't please you:
"Sorry, this file was not fixable: Error reading your file."

====================
Problem with "Difference" and F5 ...

Hi, I am running Openscad v2021.01 and am having problems with the following
script.

$fn=32;
difference()
{
union(){
import("base_slide_heavy_duty_HA.stl", 4);
hull(){
translate([22,-13,0]) color("red") cube([20,70,3]);
translate([35.5,-13,0]) color("green") cylinder(h=3, d=13);
translate([28.5,-19.5,0]) color("blue") cube([7,5,3]);
translate([24,57,0]) color("green")cylinder(h=3, d=4);
translate([40,57,0]) color("green")cylinder(h=3, d=4);
}
}
translate([25.8,-17,-1]) color("red")cylinder(h=5, d=3);
}

and when I hit F5 I get the following display

i.e. there are "holes" in the render.

If I comment out the difference() it appears correctly except the red cylinder
isn't subtracted :-

The "imported" .STL file is attached.

This is only a problem for the preview, the generated STL is fine.

What am I doing wrong ??

Regards,
Dave

Terry


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

I didn't send it to the "Empathy" site (whatever that is). Dave On 19/02/2022 16:55, Terry wrote: > Dave, > > I saw your post on the Empathy site. Not sure you realise that's rarely viewed > by those on the Mailing List, so I'll copy its content in this post. > > > I'm no expert but FWIW I tried your file with the free repair tool at > https://www.formware.co/onlinestlrepair > and got a rather unhelpful message that won't please you: > "Sorry, this file was not fixable: Error reading your file." > > ==================== > Problem with "Difference" and F5 ... > ------------------------------------ > Hi, I am running Openscad v2021.01 and am having problems with the following > script. > > $fn=32; > difference() > { > union(){ > import("base_slide_heavy_duty_HA.stl", 4); > hull(){ > translate([22,-13,0]) color("red") cube([20,70,3]); > translate([35.5,-13,0]) color("green") cylinder(h=3, d=13); > translate([28.5,-19.5,0]) color("blue") cube([7,5,3]); > translate([24,57,0]) color("green")cylinder(h=3, d=4); > translate([40,57,0]) color("green")cylinder(h=3, d=4); > } > } > translate([25.8,-17,-1]) color("red")cylinder(h=5, d=3); > } > > and when I hit F5 I get the following display > > i.e. there are "holes" in the render. > > If I comment out the difference() it appears correctly except the red cylinder > isn't subtracted :- > > The "imported" .STL file is attached. > > This is only a problem for the preview, the generated STL is fine. > > What am I doing wrong ?? > > Regards, > Dave > ==================== > > Terry > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org
T
Terry
Sat, Feb 19, 2022 6:28 PM

Odd. I didn't see your initial 4.09 pm post in my Agent email inbox, and still
don't. Nor in my Gmail web inbox. Hence my post.

But it clearly did get to the list as I see it quoted in replies from both
Adrian and Ray!

Terry

====================

On Sat, 19 Feb 2022 17:39:50 +0000, you wrote:

I didn't send it to the "Empathy" site (whatever that is).

Dave

On 19/02/2022 16:55, Terry wrote:

Dave,

I saw your post on the Empathy site. Not sure you realise that's rarely viewed
by those on the Mailing List, so I'll copy its content in this post.

I'm no expert but FWIW I tried your file with the free repair tool at
https://www.formware.co/onlinestlrepair
and got a rather unhelpful message that won't please you:
"Sorry, this file was not fixable: Error reading your file."

====================
Problem with "Difference" and F5 ...

Hi, I am running Openscad v2021.01 and am having problems with the following
script.

$fn=32;
difference()
{
union(){
import("base_slide_heavy_duty_HA.stl", 4);
hull(){
translate([22,-13,0]) color("red") cube([20,70,3]);
translate([35.5,-13,0]) color("green") cylinder(h=3, d=13);
translate([28.5,-19.5,0]) color("blue") cube([7,5,3]);
translate([24,57,0]) color("green")cylinder(h=3, d=4);
translate([40,57,0]) color("green")cylinder(h=3, d=4);
}
}
translate([25.8,-17,-1]) color("red")cylinder(h=5, d=3);
}

and when I hit F5 I get the following display

i.e. there are "holes" in the render.

If I comment out the difference() it appears correctly except the red cylinder
isn't subtracted :-

The "imported" .STL file is attached.

This is only a problem for the preview, the generated STL is fine.

What am I doing wrong ??

Regards,
Dave

Terry


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

Odd. I didn't see your initial 4.09 pm post in my Agent email inbox, and still don't. Nor in my Gmail web inbox. Hence my post. But it clearly did get to the list as I see it quoted in replies from both Adrian and Ray! Terry ==================== On Sat, 19 Feb 2022 17:39:50 +0000, you wrote: > >I didn't send it to the "Empathy" site (whatever that is). > >Dave > > >On 19/02/2022 16:55, Terry wrote: >> Dave, >> >> I saw your post on the Empathy site. Not sure you realise that's rarely viewed >> by those on the Mailing List, so I'll copy its content in this post. >> >> >> I'm no expert but FWIW I tried your file with the free repair tool at >> https://www.formware.co/onlinestlrepair >> and got a rather unhelpful message that won't please you: >> "Sorry, this file was not fixable: Error reading your file." >> >> ==================== >> Problem with "Difference" and F5 ... >> ------------------------------------ >> Hi, I am running Openscad v2021.01 and am having problems with the following >> script. >> >> $fn=32; >> difference() >> { >> union(){ >> import("base_slide_heavy_duty_HA.stl", 4); >> hull(){ >> translate([22,-13,0]) color("red") cube([20,70,3]); >> translate([35.5,-13,0]) color("green") cylinder(h=3, d=13); >> translate([28.5,-19.5,0]) color("blue") cube([7,5,3]); >> translate([24,57,0]) color("green")cylinder(h=3, d=4); >> translate([40,57,0]) color("green")cylinder(h=3, d=4); >> } >> } >> translate([25.8,-17,-1]) color("red")cylinder(h=5, d=3); >> } >> >> and when I hit F5 I get the following display >> >> i.e. there are "holes" in the render. >> >> If I comment out the difference() it appears correctly except the red cylinder >> isn't subtracted :- >> >> The "imported" .STL file is attached. >> >> This is only a problem for the preview, the generated STL is fine. >> >> What am I doing wrong ?? >> >> Regards, >> Dave >> ==================== >> >> Terry >> _______________________________________________ >> 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
D
Dave
Sat, Feb 19, 2022 8:16 PM

Sadly, none of the suggestions achieve what I need :-(

I tried downloading the latest x64 dev snapshot and it failed with :-

... so, going back to the last stable.

I am running under Win 7 x64 Pro with 8G of memory. The fact that the output STL file is OK wont stop me proceeding but the lack of a reliable preview is very irritating.

Dave

On 19/02/2022 17:32, Bryan Lee wrote:

<pre class="moz-quote-pre" wrap="">Similar.
Does anyone have a good workflow to ensure that your meshes are closed
before importing into OpenSCAD?

I was thinking yesterday about writing a script that calls MeshLab to
convert an STL into an OBJ, and then calls it again to convert back into an
STL, possibly unifying/dissolving points that were really close together.
And using this script to prep any models before importing them.


Thus Sanjeev Prabhakar hast written on Sat, Feb 19, 2022 at 10:54:21PM +0530, and, according to prophecy, it shall come to pass that:
<pre class="moz-quote-pre" wrap="">stl file is not attached.
I have found that doing boolean operations on stls is a little tricky.
Many times it fails, complaining that the mesh is not closed.
<pre class="moz-quote-pre" wrap="">_______________________________________________
OpenSCAD mailing list
To unsubscribe send an email to <a class="moz-txt-link-abbreviated" href="mailto:discuss-leave@lists.openscad.org">discuss-leave@lists.openscad.org</a>
M
MichaelAtOz
Sat, Feb 19, 2022 11:31 PM

Terry, if it is on Empathy it was sent to the list, Empathy looks at the list.
Mailing-lists are very simple beasts, they either fail big or work.

You have and unconventional email setup and use, you should assume problems are at your end.

Also Empathy is a secondary capability with a number of presentation bugs, it should be avoided
unless your email is down and something is critical, but even then...

-----Original Message-----
From: Terry [mailto:terrypingm@gmail.com]
Sent: Sun, 20 Feb 2022 05:28
To: OpenSCAD general discussion
Subject: [OpenSCAD] Re: Problem with "Difference" and F5 ... (from Empathy)

Odd. I didn't see your initial 4.09 pm post in my Agent email inbox, and still
don't. Nor in my Gmail web inbox. Hence my post.

But it clearly did get to the list as I see it quoted in replies from both
Adrian and Ray!

Terry

====================

On Sat, 19 Feb 2022 17:39:50 +0000, you wrote:

I didn't send it to the "Empathy" site (whatever that is).

Dave

On 19/02/2022 16:55, Terry wrote:

Dave,

I saw your post on the Empathy site. Not sure you realise that's rarely viewed
by those on the Mailing List, so I'll copy its content in this post.

I'm no expert but FWIW I tried your file with the free repair tool at
https://www.formware.co/onlinestlrepair
and got a rather unhelpful message that won't please you:
"Sorry, this file was not fixable: Error reading your file."

====================
Problem with "Difference" and F5 ...

Hi, I am running Openscad v2021.01 and am having problems with the following
script.

$fn=32;
difference()
{
union(){
import("base_slide_heavy_duty_HA.stl", 4);
hull(){
translate([22,-13,0]) color("red") cube([20,70,3]);
translate([35.5,-13,0]) color("green") cylinder(h=3, d=13);
translate([28.5,-19.5,0]) color("blue") cube([7,5,3]);
translate([24,57,0]) color("green")cylinder(h=3, d=4);
translate([40,57,0]) color("green")cylinder(h=3, d=4);
}
}
translate([25.8,-17,-1]) color("red")cylinder(h=5, d=3);
}

and when I hit F5 I get the following display

i.e. there are "holes" in the render.

If I comment out the difference() it appears correctly except the red cylinder
isn't subtracted :-

The "imported" .STL file is attached.

This is only a problem for the preview, the generated STL is fine.

What am I doing wrong ??

Regards,
Dave

Terry


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

--
This email has been checked for viruses by AVG.
https://www.avg.com

Terry, if it is on Empathy it was sent to the list, Empathy looks at the list. Mailing-lists are very simple beasts, they either fail big or work. You have and unconventional email setup and use, you should assume problems are at your end. Also Empathy is a secondary capability with a number of presentation bugs, it should be avoided unless your email is down and something is critical, but even then... > -----Original Message----- > From: Terry [mailto:terrypingm@gmail.com] > Sent: Sun, 20 Feb 2022 05:28 > To: OpenSCAD general discussion > Subject: [OpenSCAD] Re: Problem with "Difference" and F5 ... (from Empathy) > > Odd. I didn't see your initial 4.09 pm post in my Agent email inbox, and still > don't. Nor in my Gmail web inbox. Hence my post. > > But it clearly did get to the list as I see it quoted in replies from both > Adrian and Ray! > > Terry > > ==================== > > On Sat, 19 Feb 2022 17:39:50 +0000, you wrote: > > > > >I didn't send it to the "Empathy" site (whatever that is). > > > >Dave > > > > > >On 19/02/2022 16:55, Terry wrote: > >> Dave, > >> > >> I saw your post on the Empathy site. Not sure you realise that's rarely viewed > >> by those on the Mailing List, so I'll copy its content in this post. > >> > >> > >> I'm no expert but FWIW I tried your file with the free repair tool at > >> https://www.formware.co/onlinestlrepair > >> and got a rather unhelpful message that won't please you: > >> "Sorry, this file was not fixable: Error reading your file." > >> > >> ==================== > >> Problem with "Difference" and F5 ... > >> ------------------------------------ > >> Hi, I am running Openscad v2021.01 and am having problems with the following > >> script. > >> > >> $fn=32; > >> difference() > >> { > >> union(){ > >> import("base_slide_heavy_duty_HA.stl", 4); > >> hull(){ > >> translate([22,-13,0]) color("red") cube([20,70,3]); > >> translate([35.5,-13,0]) color("green") cylinder(h=3, d=13); > >> translate([28.5,-19.5,0]) color("blue") cube([7,5,3]); > >> translate([24,57,0]) color("green")cylinder(h=3, d=4); > >> translate([40,57,0]) color("green")cylinder(h=3, d=4); > >> } > >> } > >> translate([25.8,-17,-1]) color("red")cylinder(h=5, d=3); > >> } > >> > >> and when I hit F5 I get the following display > >> > >> i.e. there are "holes" in the render. > >> > >> If I comment out the difference() it appears correctly except the red cylinder > >> isn't subtracted :- > >> > >> The "imported" .STL file is attached. > >> > >> This is only a problem for the preview, the generated STL is fine. > >> > >> What am I doing wrong ?? > >> > >> Regards, > >> Dave > >> ==================== > >> > >> Terry > >> _______________________________________________ > >> 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 -- This email has been checked for viruses by AVG. https://www.avg.com
T
terrypingm@gmail.com
Sat, Feb 19, 2022 11:53 PM

Thanks Michael. I use Empathy only to confirm my post has reached the list. As you know from our earlier discussions, I don’t see that in the list inbox. Despite its serious flaws I also find Empathy’s compact display quite attractive.

On this occasion Dave’s post was displayed in Empathy but (illogically) in neither my reliable Agent email app or in my browser Gmail. I thought I was therfore being helpful by making its content accessible. But in future I’ll make the assumption you suggest ;-)

Terry

On 19 Feb 2022, at 23:32, MichaelAtOz oz.at.michael@gmail.com wrote:

Terry, if it is on Empathy it was sent to the list, Empathy looks at the list.
Mailing-lists are very simple beasts, they either fail big or work.

You have and unconventional email setup and use, you should assume problems are at your end.

Also Empathy is a secondary capability with a number of presentation bugs, it should be avoided
unless your email is down and something is critical, but even then...

-----Original Message-----
From: Terry [mailto:terrypingm@gmail.com]
Sent: Sun, 20 Feb 2022 05:28
To: OpenSCAD general discussion
Subject: [OpenSCAD] Re: Problem with "Difference" and F5 ... (from Empathy)

Odd. I didn't see your initial 4.09 pm post in my Agent email inbox, and still
don't. Nor in my Gmail web inbox. Hence my post.

But it clearly did get to the list as I see it quoted in replies from both
Adrian and Ray!

Terry

====================

On Sat, 19 Feb 2022 17:39:50 +0000, you wrote:

I didn't send it to the "Empathy" site (whatever that is).

Dave

On 19/02/2022 16:55, Terry wrote:

Dave,

I saw your post on the Empathy site. Not sure you realise that's rarely viewed
by those on the Mailing List, so I'll copy its content in this post.

I'm no expert but FWIW I tried your file with the free repair tool at
https://www.formware.co/onlinestlrepair
and got a rather unhelpful message that won't please you:
"Sorry, this file was not fixable: Error reading your file."

====================
Problem with "Difference" and F5 ...

Hi, I am running Openscad v2021.01 and am having problems with the following
script.

$fn=32;
difference()
{
union(){
import("base_slide_heavy_duty_HA.stl", 4);
hull(){
translate([22,-13,0]) color("red") cube([20,70,3]);
translate([35.5,-13,0]) color("green") cylinder(h=3, d=13);
translate([28.5,-19.5,0]) color("blue") cube([7,5,3]);
translate([24,57,0]) color("green")cylinder(h=3, d=4);
translate([40,57,0]) color("green")cylinder(h=3, d=4);
}
}
translate([25.8,-17,-1]) color("red")cylinder(h=5, d=3);
}

and when I hit F5 I get the following display

i.e. there are "holes" in the render.

If I comment out the difference() it appears correctly except the red cylinder
isn't subtracted :-

The "imported" .STL file is attached.

This is only a problem for the preview, the generated STL is fine.

What am I doing wrong ??

Regards,
Dave

Terry


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

--
This email has been checked for viruses by AVG.
https://www.avg.com


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

Thanks Michael. I use Empathy only to confirm my post has reached the list. As you know from our earlier discussions, I don’t see that in the list inbox. Despite its serious flaws I also find Empathy’s compact display quite attractive. On this occasion Dave’s post was displayed in Empathy but (illogically) in neither my reliable Agent email app or in my browser Gmail. I thought I was therfore being helpful by making its content accessible. But in future I’ll make the assumption you suggest ;-) Terry > On 19 Feb 2022, at 23:32, MichaelAtOz <oz.at.michael@gmail.com> wrote: > > Terry, if it is on Empathy it was sent to the list, Empathy looks at the list. > Mailing-lists are very simple beasts, they either fail big or work. > > You have and unconventional email setup and use, you should assume problems are at your end. > > Also Empathy is a secondary capability with a number of presentation bugs, it should be avoided > unless your email is down and something is critical, but even then... > >> -----Original Message----- >> From: Terry [mailto:terrypingm@gmail.com] >> Sent: Sun, 20 Feb 2022 05:28 >> To: OpenSCAD general discussion >> Subject: [OpenSCAD] Re: Problem with "Difference" and F5 ... (from Empathy) >> >> Odd. I didn't see your initial 4.09 pm post in my Agent email inbox, and still >> don't. Nor in my Gmail web inbox. Hence my post. >> >> But it clearly did get to the list as I see it quoted in replies from both >> Adrian and Ray! >> >> Terry >> >> ==================== >> >>> On Sat, 19 Feb 2022 17:39:50 +0000, you wrote: >>> >>> >>> I didn't send it to the "Empathy" site (whatever that is). >>> >>> Dave >>> >>> >>> On 19/02/2022 16:55, Terry wrote: >>>> Dave, >>>> >>>> I saw your post on the Empathy site. Not sure you realise that's rarely viewed >>>> by those on the Mailing List, so I'll copy its content in this post. >>>> >>>> >>>> I'm no expert but FWIW I tried your file with the free repair tool at >>>> https://www.formware.co/onlinestlrepair >>>> and got a rather unhelpful message that won't please you: >>>> "Sorry, this file was not fixable: Error reading your file." >>>> >>>> ==================== >>>> Problem with "Difference" and F5 ... >>>> ------------------------------------ >>>> Hi, I am running Openscad v2021.01 and am having problems with the following >>>> script. >>>> >>>> $fn=32; >>>> difference() >>>> { >>>> union(){ >>>> import("base_slide_heavy_duty_HA.stl", 4); >>>> hull(){ >>>> translate([22,-13,0]) color("red") cube([20,70,3]); >>>> translate([35.5,-13,0]) color("green") cylinder(h=3, d=13); >>>> translate([28.5,-19.5,0]) color("blue") cube([7,5,3]); >>>> translate([24,57,0]) color("green")cylinder(h=3, d=4); >>>> translate([40,57,0]) color("green")cylinder(h=3, d=4); >>>> } >>>> } >>>> translate([25.8,-17,-1]) color("red")cylinder(h=5, d=3); >>>> } >>>> >>>> and when I hit F5 I get the following display >>>> >>>> i.e. there are "holes" in the render. >>>> >>>> If I comment out the difference() it appears correctly except the red cylinder >>>> isn't subtracted :- >>>> >>>> The "imported" .STL file is attached. >>>> >>>> This is only a problem for the preview, the generated STL is fine. >>>> >>>> What am I doing wrong ?? >>>> >>>> Regards, >>>> Dave >>>> ==================== >>>> >>>> Terry >>>> _______________________________________________ >>>> 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 > > > -- > This email has been checked for viruses by AVG. > https://www.avg.com > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org