discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

Rendering problems

A
arunanshuroy@gmail.com
Sun, Jan 18, 2015 4:10 PM

I'm trying to render the following 3D model. It takes too long and crashes often.

Is this a known issue? Are there any known workarounds? I'’m using OpenSCAD 2014.03 on a 64 bit windows machine.

Thanks,

Arunanshu

module bangle(n_rotations,degree, radius, width){
for (i=[0:360/n_rotations:360 - 360/n_rotations])
{
// rotate about the Z axis
rotate([0,0,i])

// rotate about the X axis
rotate([degree,0,0])

// create a ring

          rotate_extrude(convexity = 10, $fn = 100)
           translate([radius, 0, 0])
            circle(r = width, $fn = 100);
               

}
}

//outer_ring_radius = 40;
//inner_ring_radius = 37;
//ring_height = 2;
//n_rotations = 9;
//degree = 20

bangle(9, 20, 32, 1);

Sent from Surface

I'm trying to render the following 3D model. It takes too long and crashes often. Is this a known issue? Are there any known workarounds? I'’m using OpenSCAD 2014.03 on a 64 bit windows machine. Thanks, Arunanshu module bangle(n_rotations,degree, radius, width){ for (i=[0:360/n_rotations:360 - 360/n_rotations]) { // rotate about the Z axis rotate([0,0,i]) // rotate about the X axis rotate([degree,0,0]) // create a ring rotate_extrude(convexity = 10, $fn = 100) translate([radius, 0, 0]) circle(r = width, $fn = 100); } } //outer_ring_radius = 40; //inner_ring_radius = 37; //ring_height = 2; //n_rotations = 9; //degree = 20 bangle(9, 20, 32, 1); Sent from Surface
PF
Peter Falke
Sun, Jan 18, 2015 7:59 PM

Your $fn=100 is a bit to large.
My tip: always define fn1, fn2, at the beginning of the file and set it to
lower values.
Given your $fn values, try to estimate the number of facets your`ll
produce.

Sincerely,

TakeItAndRun

2015-01-18 17:10 GMT+01:00 arunanshuroy@gmail.com:

I'm trying to render the following 3D model. It takes too long and
crashes often.
Is this a known issue? Are there any known workarounds? I'’m using
OpenSCAD 2014.03 on a 64 bit windows machine.

Thanks,
Arunanshu

module bangle(n_rotations,degree, radius, width){
for (i=[0:360/n_rotations:360 - 360/n_rotations])
{
// rotate about the Z axis
rotate([0,0,i])

// rotate about the X axis
rotate([degree,0,0])

// create a ring

           rotate_extrude(convexity = 10, $fn = 100)
            translate([radius, 0, 0])
             circle(r = width, $fn = 100);

}
}

//outer_ring_radius = 40;
//inner_ring_radius = 37;
//ring_height = 2;
//n_rotations = 9;
//degree = 20

bangle(9, 20, 32, 1);

Sent from Surface


OpenSCAD mailing list
Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org

--
stempeldergeschichte@googlemail.com karsten@rohrbach.de

P.S. Falls meine E-Mail kürzer ausfällt als Dir angenehm ist:
Ich probiere gerade aus kurze Antworten statt gar keine Antworten zu
schreiben.
Wenn Du gerne mehr lesen möchtest, dann lass es mich bitte wissen.

P.S. In case my e-mail is shorter than you enjoy:
I am currently trying short replies instead of no replies at all.
Please let me know, if you like to read more.

Enjoy!

Your $fn=100 is a bit to large. My tip: always define fn1, fn2, at the beginning of the file and set it to lower values. Given your $fn values, try to estimate the number of facets your`ll produce. Sincerely, TakeItAndRun 2015-01-18 17:10 GMT+01:00 <arunanshuroy@gmail.com>: > I'm trying to render the following 3D model. It takes too long and > crashes often. > Is this a known issue? Are there any known workarounds? I'’m using > OpenSCAD 2014.03 on a 64 bit windows machine. > > Thanks, > Arunanshu > > module bangle(n_rotations,degree, radius, width){ > for (i=[0:360/n_rotations:360 - 360/n_rotations]) > { > // rotate about the Z axis > rotate([0,0,i]) > > // rotate about the X axis > rotate([degree,0,0]) > > // create a ring > > rotate_extrude(convexity = 10, $fn = 100) > translate([radius, 0, 0]) > circle(r = width, $fn = 100); > > } > } > > //outer_ring_radius = 40; > //inner_ring_radius = 37; > //ring_height = 2; > //n_rotations = 9; > //degree = 20 > > bangle(9, 20, 32, 1); > > > Sent from Surface > > > _______________________________________________ > OpenSCAD mailing list > Discuss@lists.openscad.org > http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org > > -- stempeldergeschichte@googlemail.com <karsten@rohrbach.de> P.S. Falls meine E-Mail kürzer ausfällt als Dir angenehm ist: Ich probiere gerade aus kurze Antworten statt gar keine Antworten zu schreiben. Wenn Du gerne mehr lesen möchtest, dann lass es mich bitte wissen. P.S. In case my e-mail is shorter than you enjoy: I am currently trying short replies instead of no replies at all. Please let me know, if you like to read more. Enjoy!