discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

F5 works, F6 doesn't. bug?

GH
gene heskett
Tue, Mar 14, 2023 7:42 PM

Greatings all;

Possible buglet advisory...

Trying to make a loom clamp to anchor a hot end umbilical cable, seems
like it s/b easy, define a cube and a recipe of differences.

The code:

module loom_clamp()
{
$fn=24; // to be reasonably round
ln=30;// length of block
sh=26/2;// separation of bolt holes
bl=sh3;// width of block
ld=16;// diameter of loom
translate([0,0,12])difference()
{
cube([ln,bl,ld
1.5],center=true);
translate([0,0,4])rotate([90,0,0])cylinder(h=sh3+1,d=ld,center=true);
translate([0,0,8.01])cube([ld,sh
3.1,ld/2+.1],center=true);
}
}
loom_clamp();

F5 works in a few milliseconds, F6 reports:

[fast-csg] corefinement mesh difference #469: 12 facets vs. 92 facets
[fast-csg-remesh] Remeshed from 214 to 12 faces (94 % improvement)
WARNING: [fast-csg] Corefinement corefinement mesh difference #469 failed
Rendering cancelled on first warning.
WARNING: No top level geometry to render

I still need to add a couple bolt holes to attach it to the printer. So
I've turned off fast-cgi, and F6 now works.

Cheers, Gene Heskett.

"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.

Greatings all; Possible buglet advisory... Trying to make a loom clamp to anchor a hot end umbilical cable, seems like it s/b easy, define a cube and a recipe of differences. The code: ================ module loom_clamp() { $fn=24; // to be reasonably round ln=30;// length of block sh=26/2;// separation of bolt holes bl=sh*3;// width of block ld=16;// diameter of loom translate([0,0,12])difference() { cube([ln,bl,ld*1.5],center=true); translate([0,0,4])rotate([90,0,0])cylinder(h=sh*3+1,d=ld,center=true); translate([0,0,8.01])cube([ld,sh*3.1,ld/2+.1],center=true); } } loom_clamp(); =============== F5 works in a few milliseconds, F6 reports: [fast-csg] corefinement mesh difference #469: 12 facets vs. 92 facets [fast-csg-remesh] Remeshed from 214 to 12 faces (94 % improvement) WARNING: [fast-csg] Corefinement corefinement mesh difference #469 failed Rendering cancelled on first warning. WARNING: No top level geometry to render I still need to add a couple bolt holes to attach it to the printer. So I've turned off fast-cgi, and F6 now works. Cheers, Gene Heskett. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis Genes Web page <http://geneslinuxbox.net:6309/>
L
larry
Tue, Mar 14, 2023 10:44 PM

On Tue, 2023-03-14 at 15:42 -0400, gene heskett wrote:

Greatings all;

Possible buglet advisory...

Trying to make a loom clamp to anchor a hot end umbilical cable,
seems
like it s/b easy, define a cube and a recipe of differences.

The code:

module loom_clamp()
{
     $fn=24; // to be reasonably round
     ln=30;// length of block
     sh=26/2;// separation of bolt holes
     bl=sh3;// width of block
     ld=16;// diameter of loom
     translate([0,0,12])difference()
     {
         cube([ln,bl,ld
1.5],center=true);
        translate([0,0,4])rotate([90,0,0])cylinder(h=sh3+1,d=ld,cent
er=true);
         translate([0,0,8.01])cube([ld,sh
3.1,ld/2+.1],center=true);
     }
}
loom_clamp();

No idea why, but reversing the order to the two objects being
subtracted from the main cube fixes it.

module loom_clamp()
{
$fn=24; // to be reasonably round
ln=30;// length of block
sh=26/2;// separation of bolt holes
bl=sh3;// width of block
ld=16;// diameter of loom
translate([0,0,12])difference()
{
cube([ln,bl,ld
1.5],center=true);
translate([0,0,8.01])
cube([ld,sh3.1,ld/2+.1],center=true);
translate([0,0,4])rotate([90,0,0])
cylinder(h=sh
3+1,d=ld,center=true);
}
}
loom_clamp();

===============
F5 works in a few milliseconds, F6 reports:

[fast-csg] corefinement mesh difference #469: 12 facets vs. 92 facets
[fast-csg-remesh] Remeshed from 214 to 12 faces (94 % improvement)
WARNING: [fast-csg] Corefinement corefinement mesh difference #469
failed
Rendering cancelled on first warning.
WARNING: No top level geometry to render

I still need to add a couple bolt holes to attach it to the printer.
So
I've turned off fast-cgi, and F6 now works.

Cheers, Gene Heskett.

On Tue, 2023-03-14 at 15:42 -0400, gene heskett wrote: > Greatings all; > > Possible buglet advisory... > > Trying to make a loom clamp to anchor a hot end umbilical cable, > seems > like it s/b easy, define a cube and a recipe of differences. > > The code: > ================ > module loom_clamp() > { >      $fn=24; // to be reasonably round >      ln=30;// length of block >      sh=26/2;// separation of bolt holes >      bl=sh*3;// width of block >      ld=16;// diameter of loom >      translate([0,0,12])difference() >      { >          cube([ln,bl,ld*1.5],center=true); >         translate([0,0,4])rotate([90,0,0])cylinder(h=sh*3+1,d=ld,cent > er=true); >          translate([0,0,8.01])cube([ld,sh*3.1,ld/2+.1],center=true); >      } > } > loom_clamp(); No idea why, but reversing the order to the two objects being subtracted from the main cube fixes it. module loom_clamp() { $fn=24; // to be reasonably round ln=30;// length of block sh=26/2;// separation of bolt holes bl=sh*3;// width of block ld=16;// diameter of loom translate([0,0,12])difference() { cube([ln,bl,ld*1.5],center=true); translate([0,0,8.01]) cube([ld,sh*3.1,ld/2+.1],center=true); translate([0,0,4])rotate([90,0,0]) cylinder(h=sh*3+1,d=ld,center=true); } } loom_clamp(); > =============== > F5 works in a few milliseconds, F6 reports: > > [fast-csg] corefinement mesh difference #469: 12 facets vs. 92 facets > [fast-csg-remesh] Remeshed from 214 to 12 faces (94 % improvement) > WARNING: [fast-csg] Corefinement corefinement mesh difference #469 > failed > Rendering cancelled on first warning. > WARNING: No top level geometry to render > > I still need to add a couple bolt holes to attach it to the printer. > So > I've turned off fast-cgi, and F6 now works. > > Cheers, Gene Heskett.
GH
gene heskett
Wed, Mar 15, 2023 12:22 AM

On 3/14/23 18:45, Larry wrote:

On Tue, 2023-03-14 at 15:42 -0400, gene heskett wrote:

Greatings all;

Possible buglet advisory...

Trying to make a loom clamp to anchor a hot end umbilical cable,
seems
like it s/b easy, define a cube and a recipe of differences.

The code:

module loom_clamp()
{
     $fn=24; // to be reasonably round
     ln=30;// length of block
     sh=26/2;// separation of bolt holes
     bl=sh3;// width of block
     ld=16;// diameter of loom
     translate([0,0,12])difference()
     {
         cube([ln,bl,ld
1.5],center=true);
        translate([0,0,4])rotate([90,0,0])cylinder(h=sh3+1,d=ld,cent
er=true);
         translate([0,0,8.01])cube([ld,sh
3.1,ld/2+.1],center=true);
     }
}
loom_clamp();

No idea why, but reversing the order to the two objects being
subtracted from the main cube fixes it.

Odd, I don't recall encountering that effect before.  With a new bed
plate, new heat break, a direct drive conversion and a carbide nozzle, I
had to turn the bed plate over to the smooth side, run the temps up
another 15C each, and it it doesn't finish coming loose from warpage
I'll have a usable part.  Finger and other appendages crossed.

Thanks Larry.

module loom_clamp()
{
$fn=24; // to be reasonably round
ln=30;// length of block
sh=26/2;// separation of bolt holes
bl=sh3;// width of block
ld=16;// diameter of loom
translate([0,0,12])difference()
{
cube([ln,bl,ld
1.5],center=true);
translate([0,0,8.01])
cube([ld,sh3.1,ld/2+.1],center=true);
translate([0,0,4])rotate([90,0,0])
cylinder(h=sh
3+1,d=ld,center=true);
}
}
loom_clamp();

===============
F5 works in a few milliseconds, F6 reports:

[fast-csg] corefinement mesh difference #469: 12 facets vs. 92 facets
[fast-csg-remesh] Remeshed from 214 to 12 faces (94 % improvement)
WARNING: [fast-csg] Corefinement corefinement mesh difference #469
failed
Rendering cancelled on first warning.
WARNING: No top level geometry to render

I still need to add a couple bolt holes to attach it to the printer.
So
I've turned off fast-cgi, and F6 now works.

Cheers, Gene Heskett.


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

Cheers, Gene Heskett.

"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.

On 3/14/23 18:45, Larry wrote: > On Tue, 2023-03-14 at 15:42 -0400, gene heskett wrote: >> Greatings all; >> >> Possible buglet advisory... >> >> Trying to make a loom clamp to anchor a hot end umbilical cable, >> seems >> like it s/b easy, define a cube and a recipe of differences. >> >> The code: >> ================ >> module loom_clamp() >> { >>      $fn=24; // to be reasonably round >>      ln=30;// length of block >>      sh=26/2;// separation of bolt holes >>      bl=sh*3;// width of block >>      ld=16;// diameter of loom >>      translate([0,0,12])difference() >>      { >>          cube([ln,bl,ld*1.5],center=true); >>         translate([0,0,4])rotate([90,0,0])cylinder(h=sh*3+1,d=ld,cent >> er=true); >>          translate([0,0,8.01])cube([ld,sh*3.1,ld/2+.1],center=true); >>      } >> } >> loom_clamp(); > > No idea why, but reversing the order to the two objects being > subtracted from the main cube fixes it. Odd, I don't recall encountering that effect before. With a new bed plate, new heat break, a direct drive conversion and a carbide nozzle, I had to turn the bed plate over to the smooth side, run the temps up another 15C each, and it it doesn't finish coming loose from warpage I'll have a usable part. Finger and other appendages crossed. > Thanks Larry. > module loom_clamp() > { > $fn=24; // to be reasonably round > ln=30;// length of block > sh=26/2;// separation of bolt holes > bl=sh*3;// width of block > ld=16;// diameter of loom > translate([0,0,12])difference() > { > cube([ln,bl,ld*1.5],center=true); > translate([0,0,8.01]) > cube([ld,sh*3.1,ld/2+.1],center=true); > translate([0,0,4])rotate([90,0,0]) > cylinder(h=sh*3+1,d=ld,center=true); > } > } > loom_clamp(); > >> =============== >> F5 works in a few milliseconds, F6 reports: >> >> [fast-csg] corefinement mesh difference #469: 12 facets vs. 92 facets >> [fast-csg-remesh] Remeshed from 214 to 12 faces (94 % improvement) >> WARNING: [fast-csg] Corefinement corefinement mesh difference #469 >> failed >> Rendering cancelled on first warning. >> WARNING: No top level geometry to render >> >> I still need to add a couple bolt holes to attach it to the printer. >> So >> I've turned off fast-cgi, and F6 now works. >> >> Cheers, Gene Heskett. > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org Cheers, Gene Heskett. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis Genes Web page <http://geneslinuxbox.net:6309/>
GH
gene heskett
Wed, Mar 15, 2023 5:02 PM

On 3/14/23 20:23, gene heskett wrote:

On 3/14/23 18:45, Larry wrote:

On Tue, 2023-03-14 at 15:42 -0400, gene heskett wrote:

Greatings all;

Possible buglet advisory...

Trying to make a loom clamp to anchor a hot end umbilical cable,
seems
like it s/b easy, define a cube and a recipe of differences.

The code:

module loom_clamp()
{
      $fn=24; // to be reasonably round
      ln=30;// length of block
      sh=26/2;// separation of bolt holes
      bl=sh3;// width of block
      ld=16;// diameter of loom
      translate([0,0,12])difference()
      {
          cube([ln,bl,ld
1.5],center=true);
         translate([0,0,4])rotate([90,0,0])cylinder(h=sh3+1,d=ld,cent
er=true);
          translate([0,0,8.01])cube([ld,sh
3.1,ld/2+.1],center=true);
      }
}
loom_clamp();

No idea why, but reversing the order to the two objects being
subtracted from the main cube fixes it.

Odd, I don't recall encountering that effect before.  With a new bed
plate, new heat break, a direct drive conversion and a carbide nozzle, I
had to turn the bed plate over to the smooth side, run the temps up
another 15C each, and it it doesn't finish coming loose from warpage
I'll have a usable part.  Finger and other appendages crossed.

Thanks Larry.

Dumbass at work, me. I didn't realize the glossy surface was because
there was a sheet of clear, stick-on protective plastic on the satin
side. Moved it to the recycle bag, lowered all the temps 10C and its
working great.

And changing the $fn to 47 let me turn fast-cgi back on.

Happy camper I am!

module loom_clamp()
{
   $fn=24; // to be reasonably round
   ln=30;// length of block
   sh=26/2;// separation of bolt holes
   bl=sh3;// width of block
   ld=16;// diameter of loom
   translate([0,0,12])difference()
   {
     cube([ln,bl,ld
1.5],center=true);
     translate([0,0,8.01])
          cube([ld,sh3.1,ld/2+.1],center=true);
     translate([0,0,4])rotate([90,0,0])
          cylinder(h=sh
3+1,d=ld,center=true);
      }
}
loom_clamp();

===============
F5 works in a few milliseconds, F6 reports:

[fast-csg] corefinement mesh difference #469: 12 facets vs. 92 facets
[fast-csg-remesh] Remeshed from 214 to 12 faces (94 % improvement)
WARNING: [fast-csg] Corefinement corefinement mesh difference #469
failed
Rendering cancelled on first warning.
WARNING: No top level geometry to render

I still need to add a couple bolt holes to attach it to the printer.
So
I've turned off fast-cgi, and F6 now works.

Cheers, Gene Heskett.

"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.

On 3/14/23 20:23, gene heskett wrote: > On 3/14/23 18:45, Larry wrote: >> On Tue, 2023-03-14 at 15:42 -0400, gene heskett wrote: >>> Greatings all; >>> >>> Possible buglet advisory... >>> >>> Trying to make a loom clamp to anchor a hot end umbilical cable, >>> seems >>> like it s/b easy, define a cube and a recipe of differences. >>> >>> The code: >>> ================ >>> module loom_clamp() >>> { >>>       $fn=24; // to be reasonably round >>>       ln=30;// length of block >>>       sh=26/2;// separation of bolt holes >>>       bl=sh*3;// width of block >>>       ld=16;// diameter of loom >>>       translate([0,0,12])difference() >>>       { >>>           cube([ln,bl,ld*1.5],center=true); >>>          translate([0,0,4])rotate([90,0,0])cylinder(h=sh*3+1,d=ld,cent >>> er=true); >>>           translate([0,0,8.01])cube([ld,sh*3.1,ld/2+.1],center=true); >>>       } >>> } >>> loom_clamp(); >> >> No idea why, but reversing the order to the two objects being >> subtracted from the main cube fixes it. > > Odd, I don't recall encountering that effect before.  With a new bed > plate, new heat break, a direct drive conversion and a carbide nozzle, I > had to turn the bed plate over to the smooth side, run the temps up > another 15C each, and it it doesn't finish coming loose from warpage > I'll have a usable part.  Finger and other appendages crossed. >> > Thanks Larry. Dumbass at work, me. I didn't realize the glossy surface was because there was a sheet of clear, stick-on protective plastic on the satin side. Moved it to the recycle bag, lowered all the temps 10C and its working great. And changing the $fn to 47 let me turn fast-cgi back on. Happy camper I am! > >> module loom_clamp() >> { >>    $fn=24; // to be reasonably round >>    ln=30;// length of block >>    sh=26/2;// separation of bolt holes >>    bl=sh*3;// width of block >>    ld=16;// diameter of loom >>    translate([0,0,12])difference() >>    { >>      cube([ln,bl,ld*1.5],center=true); >>      translate([0,0,8.01]) >>           cube([ld,sh*3.1,ld/2+.1],center=true); >>      translate([0,0,4])rotate([90,0,0]) >>           cylinder(h=sh*3+1,d=ld,center=true); >>       } >> } >> loom_clamp(); >> >>> =============== >>> F5 works in a few milliseconds, F6 reports: >>> >>> [fast-csg] corefinement mesh difference #469: 12 facets vs. 92 facets >>> [fast-csg-remesh] Remeshed from 214 to 12 faces (94 % improvement) >>> WARNING: [fast-csg] Corefinement corefinement mesh difference #469 >>> failed >>> Rendering cancelled on first warning. >>> WARNING: No top level geometry to render >>> >>> I still need to add a couple bolt holes to attach it to the printer. >>> So >>> I've turned off fast-cgi, and F6 now works. Cheers, Gene Heskett. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis Genes Web page <http://geneslinuxbox.net:6309/>