discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

Rotary extrude with constant wall thickness, plz help!

P
PYM
Fri, Jul 24, 2015 3:57 PM

Hello,

i want to make a brim for a vessel, which needs to be an ellipsoid, but of
course keep cutouts for fitting on the vessel constant. I do a rotate
extrude of my basic shape and then scale the model. Of course the cutouts
get rescaled to, but i need a constant wall and cutout thickness.

How can i achieve this, i tried a bunch of stuff but nothing worked so far.

Please help!

My code:

$fn = 30;

scale([2.5,1,1]){
rotate_extrude(convexity = 10){
translate([100, 0, 0]){
difference(){
square([10,10]);
translate([2.5,0,0]){
square([5,10]);
}
}
}
}
}

--
View this message in context: http://forum.openscad.org/Rotary-extrude-with-constant-wall-thickness-plz-help-tp13287.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

Hello, i want to make a brim for a vessel, which needs to be an ellipsoid, but of course keep cutouts for fitting on the vessel constant. I do a rotate extrude of my basic shape and then scale the model. Of course the cutouts get rescaled to, but i need a constant wall and cutout thickness. How can i achieve this, i tried a bunch of stuff but nothing worked so far. Please help! My code: $fn = 30; scale([2.5,1,1]){ rotate_extrude(convexity = 10){ translate([100, 0, 0]){ difference(){ square([10,10]); translate([2.5,0,0]){ square([5,10]); } } } } } -- View this message in context: http://forum.openscad.org/Rotary-extrude-with-constant-wall-thickness-plz-help-tp13287.html Sent from the OpenSCAD mailing list archive at Nabble.com.
PM
Patrick Mörwald
Fri, Jul 24, 2015 3:59 PM

-------- Weitergeleitete Nachricht --------
Betreff: [OpenSCAD] Rotary extrude with constant wall thickness, plz help!
Datum: Fri, 24 Jul 2015 08:57:40 -0700 (MST)
Von: PYM pm@pixelyourmind.de
Antwort an: OpenSCAD general discussion discuss@lists.openscad.org
An: discuss@lists.openscad.org

Hello,

i want to make a brim for a vessel, which needs to be an ellipsoid, but of
course keep cutouts for fitting on the vessel constant. I do a rotate
extrude of my basic shape and then scale the model. Of course the cutouts
get rescaled to, but i need a constant wall and cutout thickness.

How can i achieve this, i tried a bunch of stuff but nothing worked so far.

Please help!

My code:

$fn = 30;

scale([2.5,1,1]){
rotate_extrude(convexity = 10){
translate([100, 0, 0]){
difference(){
square([10,10]);
translate([2.5,0,0]){
square([5,10]);
}
}
}
}
}

--
View this message in context: http://forum.openscad.org/Rotary-extrude-with-constant-wall-thickness-plz-help-tp13287.html
Sent from the OpenSCAD mailing list archive at Nabble.com.


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

-------- Weitergeleitete Nachricht -------- Betreff: [OpenSCAD] Rotary extrude with constant wall thickness, plz help! Datum: Fri, 24 Jul 2015 08:57:40 -0700 (MST) Von: PYM <pm@pixelyourmind.de> Antwort an: OpenSCAD general discussion <discuss@lists.openscad.org> An: discuss@lists.openscad.org Hello, i want to make a brim for a vessel, which needs to be an ellipsoid, but of course keep cutouts for fitting on the vessel constant. I do a rotate extrude of my basic shape and then scale the model. Of course the cutouts get rescaled to, but i need a constant wall and cutout thickness. How can i achieve this, i tried a bunch of stuff but nothing worked so far. Please help! My code: $fn = 30; scale([2.5,1,1]){ rotate_extrude(convexity = 10){ translate([100, 0, 0]){ difference(){ square([10,10]); translate([2.5,0,0]){ square([5,10]); } } } } } -- View this message in context: http://forum.openscad.org/Rotary-extrude-with-constant-wall-thickness-plz-help-tp13287.html Sent from the OpenSCAD mailing list archive at Nabble.com. _______________________________________________ OpenSCAD mailing list Discuss@lists.openscad.org http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
PF
Peter Falke
Fri, Jul 24, 2015 6:45 PM

The way to do this is to rotate extrude a very thin slice (e=0.01), scale
it into an ellipse, and than hull  it with a cylinder of diameter equal to
the thickness required.

2015-07-24 17:59 GMT+02:00 Patrick Mörwald pm@pixelyourmind.de:

-------- Weitergeleitete Nachricht --------  Betreff: [OpenSCAD] Rotary
extrude with constant wall thickness, plz help!  Datum: Fri, 24 Jul 2015
08:57:40 -0700 (MST)  Von: PYM pm@pixelyourmind.de pm@pixelyourmind.de  Antwort
an: OpenSCAD general discussion discuss@lists.openscad.org
discuss@lists.openscad.org  An: discuss@lists.openscad.org

Hello,

i want to make a brim for a vessel, which needs to be an ellipsoid, but of
course keep cutouts for fitting on the vessel constant. I do a rotate
extrude of my basic shape and then scale the model. Of course the cutouts
get rescaled to, but i need a constant wall and cutout thickness.

How can i achieve this, i tried a bunch of stuff but nothing worked so far.

Please help!

My code:

$fn = 30;

scale([2.5,1,1]){
rotate_extrude(convexity = 10){
translate([100, 0, 0]){
difference(){
square([10,10]);
translate([2.5,0,0]){
square([5,10]);
}
}
}
}
}

--
View this message in context: http://forum.openscad.org/Rotary-extrude-with-constant-wall-thickness-plz-help-tp13287.html
Sent from the OpenSCAD mailing list archive at Nabble.com.


OpenSCAD mailing listDiscuss@lists.openscad.orghttp://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org


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!

The way to do this is to rotate extrude a very thin slice (e=0.01), scale it into an ellipse, and than hull it with a cylinder of diameter equal to the thickness required. 2015-07-24 17:59 GMT+02:00 Patrick Mörwald <pm@pixelyourmind.de>: > > > > -------- Weitergeleitete Nachricht -------- Betreff: [OpenSCAD] Rotary > extrude with constant wall thickness, plz help! Datum: Fri, 24 Jul 2015 > 08:57:40 -0700 (MST) Von: PYM <pm@pixelyourmind.de> <pm@pixelyourmind.de> Antwort > an: OpenSCAD general discussion <discuss@lists.openscad.org> > <discuss@lists.openscad.org> An: discuss@lists.openscad.org > > Hello, > > i want to make a brim for a vessel, which needs to be an ellipsoid, but of > course keep cutouts for fitting on the vessel constant. I do a rotate > extrude of my basic shape and then scale the model. Of course the cutouts > get rescaled to, but i need a constant wall and cutout thickness. > > How can i achieve this, i tried a bunch of stuff but nothing worked so far. > > Please help! > > My code: > > $fn = 30; > > scale([2.5,1,1]){ > rotate_extrude(convexity = 10){ > translate([100, 0, 0]){ > difference(){ > square([10,10]); > translate([2.5,0,0]){ > square([5,10]); > } > } > } > } > } > > > > > -- > View this message in context: http://forum.openscad.org/Rotary-extrude-with-constant-wall-thickness-plz-help-tp13287.html > Sent from the OpenSCAD mailing list archive at Nabble.com. > > _______________________________________________ > OpenSCAD mailing listDiscuss@lists.openscad.orghttp://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org > > > > > _______________________________________________ > 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!
GF
Greg Frost
Fri, Jul 24, 2015 6:49 PM

Perhaps use 2D operations to get a cross section of the vessel shape and then use the offset() function to create the brim. This would work for any arbitrary shape.

Greg Frost

On 25 Jul 2015, at 1:27 am, PYM pm@pixelyourmind.de wrote:

Hello,

i want to make a brim for a vessel, which needs to be an ellipsoid, but of
course keep cutouts for fitting on the vessel constant. I do a rotate
extrude of my basic shape and then scale the model. Of course the cutouts
get rescaled to, but i need a constant wall and cutout thickness.

How can i achieve this, i tried a bunch of stuff but nothing worked so far.

Please help!

My code:

$fn = 30;

scale([2.5,1,1]){
rotate_extrude(convexity = 10){
translate([100, 0, 0]){
difference(){
square([10,10]);
translate([2.5,0,0]){
square([5,10]);
}
}
}
}
}

--
View this message in context: http://forum.openscad.org/Rotary-extrude-with-constant-wall-thickness-plz-help-tp13287.html
Sent from the OpenSCAD mailing list archive at Nabble.com.


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

Perhaps use 2D operations to get a cross section of the vessel shape and then use the offset() function to create the brim. This would work for any arbitrary shape. Greg Frost > On 25 Jul 2015, at 1:27 am, PYM <pm@pixelyourmind.de> wrote: > > Hello, > > i want to make a brim for a vessel, which needs to be an ellipsoid, but of > course keep cutouts for fitting on the vessel constant. I do a rotate > extrude of my basic shape and then scale the model. Of course the cutouts > get rescaled to, but i need a constant wall and cutout thickness. > > How can i achieve this, i tried a bunch of stuff but nothing worked so far. > > Please help! > > My code: > > $fn = 30; > > scale([2.5,1,1]){ > rotate_extrude(convexity = 10){ > translate([100, 0, 0]){ > difference(){ > square([10,10]); > translate([2.5,0,0]){ > square([5,10]); > } > } > } > } > } > > > > > -- > View this message in context: http://forum.openscad.org/Rotary-extrude-with-constant-wall-thickness-plz-help-tp13287.html > Sent from the OpenSCAD mailing list archive at Nabble.com. > > _______________________________________________ > OpenSCAD mailing list > Discuss@lists.openscad.org > http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
PF
Peter Falke
Fri, Jul 24, 2015 6:51 PM

Sorry, it is minkowski() not hull():

$fn = 16;
e=0.02;
minkowski(){
scale([2.5,1,1])
rotate_extrude(convexity = 10)
translate([100, 0, 0])
square([e,10]);
cylinder(10,1,1);
}

2015-07-24 20:45 GMT+02:00 Peter Falke stempeldergeschichte@googlemail.com
:

The way to do this is to rotate extrude a very thin slice (e=0.01), scale
it into an ellipse, and than hull  it with a cylinder of diameter equal to
the thickness required.

2015-07-24 17:59 GMT+02:00 Patrick Mörwald pm@pixelyourmind.de:

-------- Weitergeleitete Nachricht --------  Betreff: [OpenSCAD] Rotary
extrude with constant wall thickness, plz help!  Datum: Fri, 24 Jul 2015
08:57:40 -0700 (MST)  Von: PYM pm@pixelyourmind.de
pm@pixelyourmind.de  Antwort an: OpenSCAD general discussion
discuss@lists.openscad.org discuss@lists.openscad.org  An:
discuss@lists.openscad.org

Hello,

i want to make a brim for a vessel, which needs to be an ellipsoid, but of
course keep cutouts for fitting on the vessel constant. I do a rotate
extrude of my basic shape and then scale the model. Of course the cutouts
get rescaled to, but i need a constant wall and cutout thickness.

How can i achieve this, i tried a bunch of stuff but nothing worked so far.

Please help!

My code:

$fn = 30;

scale([2.5,1,1]){
rotate_extrude(convexity = 10){
translate([100, 0, 0]){
difference(){
square([10,10]);
translate([2.5,0,0]){
square([5,10]);
}
}
}
}
}

--
View this message in context: http://forum.openscad.org/Rotary-extrude-with-constant-wall-thickness-plz-help-tp13287.html
Sent from the OpenSCAD mailing list archive at Nabble.com.


OpenSCAD mailing listDiscuss@lists.openscad.orghttp://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org


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!

--
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!

Sorry, it is minkowski() not hull(): $fn = 16; e=0.02; minkowski(){ scale([2.5,1,1]) rotate_extrude(convexity = 10) translate([100, 0, 0]) square([e,10]); cylinder(10,1,1); } 2015-07-24 20:45 GMT+02:00 Peter Falke <stempeldergeschichte@googlemail.com> : > The way to do this is to rotate extrude a very thin slice (e=0.01), scale > it into an ellipse, and than hull it with a cylinder of diameter equal to > the thickness required. > > 2015-07-24 17:59 GMT+02:00 Patrick Mörwald <pm@pixelyourmind.de>: > >> >> >> >> -------- Weitergeleitete Nachricht -------- Betreff: [OpenSCAD] Rotary >> extrude with constant wall thickness, plz help! Datum: Fri, 24 Jul 2015 >> 08:57:40 -0700 (MST) Von: PYM <pm@pixelyourmind.de> >> <pm@pixelyourmind.de> Antwort an: OpenSCAD general discussion >> <discuss@lists.openscad.org> <discuss@lists.openscad.org> An: >> discuss@lists.openscad.org >> >> Hello, >> >> i want to make a brim for a vessel, which needs to be an ellipsoid, but of >> course keep cutouts for fitting on the vessel constant. I do a rotate >> extrude of my basic shape and then scale the model. Of course the cutouts >> get rescaled to, but i need a constant wall and cutout thickness. >> >> How can i achieve this, i tried a bunch of stuff but nothing worked so far. >> >> Please help! >> >> My code: >> >> $fn = 30; >> >> scale([2.5,1,1]){ >> rotate_extrude(convexity = 10){ >> translate([100, 0, 0]){ >> difference(){ >> square([10,10]); >> translate([2.5,0,0]){ >> square([5,10]); >> } >> } >> } >> } >> } >> >> >> >> >> -- >> View this message in context: http://forum.openscad.org/Rotary-extrude-with-constant-wall-thickness-plz-help-tp13287.html >> Sent from the OpenSCAD mailing list archive at Nabble.com. >> >> _______________________________________________ >> OpenSCAD mailing listDiscuss@lists.openscad.orghttp://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org >> >> >> >> >> _______________________________________________ >> 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! > -- 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!
PF
Peter Falke
Fri, Jul 24, 2015 6:58 PM

Yes, offset is the way to go: it is much faster!

$fn = 16;
module oval(){
scale([2.5,1,1])
circle(10);
}

difference(){
offset(r=2)oval();
oval();
}

2015-07-24 20:51 GMT+02:00 Peter Falke stempeldergeschichte@googlemail.com
:

Sorry, it is minkowski() not hull():

$fn = 16;
e=0.02;
minkowski(){
scale([2.5,1,1])
rotate_extrude(convexity = 10)
translate([100, 0, 0])
square([e,10]);
cylinder(10,1,1);
}

2015-07-24 20:45 GMT+02:00 Peter Falke <
stempeldergeschichte@googlemail.com>:

The way to do this is to rotate extrude a very thin slice (e=0.01), scale
it into an ellipse, and than hull  it with a cylinder of diameter equal to
the thickness required.

2015-07-24 17:59 GMT+02:00 Patrick Mörwald pm@pixelyourmind.de:

-------- Weitergeleitete Nachricht --------  Betreff: [OpenSCAD] Rotary
extrude with constant wall thickness, plz help!  Datum: Fri, 24 Jul
2015 08:57:40 -0700 (MST)  Von: PYM pm@pixelyourmind.de
pm@pixelyourmind.de  Antwort an: OpenSCAD general discussion
discuss@lists.openscad.org discuss@lists.openscad.org  An:
discuss@lists.openscad.org

Hello,

i want to make a brim for a vessel, which needs to be an ellipsoid, but of
course keep cutouts for fitting on the vessel constant. I do a rotate
extrude of my basic shape and then scale the model. Of course the cutouts
get rescaled to, but i need a constant wall and cutout thickness.

How can i achieve this, i tried a bunch of stuff but nothing worked so far.

Please help!

My code:

$fn = 30;

scale([2.5,1,1]){
rotate_extrude(convexity = 10){
translate([100, 0, 0]){
difference(){
square([10,10]);
translate([2.5,0,0]){
square([5,10]);
}
}
}
}
}

--
View this message in context: http://forum.openscad.org/Rotary-extrude-with-constant-wall-thickness-plz-help-tp13287.html
Sent from the OpenSCAD mailing list archive at Nabble.com.


OpenSCAD mailing listDiscuss@lists.openscad.orghttp://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org


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!

--
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!

--
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!

Yes, offset is the way to go: it is much faster! $fn = 16; module oval(){ scale([2.5,1,1]) circle(10); } difference(){ offset(r=2)oval(); oval(); } 2015-07-24 20:51 GMT+02:00 Peter Falke <stempeldergeschichte@googlemail.com> : > Sorry, it is minkowski() not hull(): > > $fn = 16; > e=0.02; > minkowski(){ > scale([2.5,1,1]) > rotate_extrude(convexity = 10) > translate([100, 0, 0]) > square([e,10]); > cylinder(10,1,1); > } > > > > > 2015-07-24 20:45 GMT+02:00 Peter Falke < > stempeldergeschichte@googlemail.com>: > >> The way to do this is to rotate extrude a very thin slice (e=0.01), scale >> it into an ellipse, and than hull it with a cylinder of diameter equal to >> the thickness required. >> >> 2015-07-24 17:59 GMT+02:00 Patrick Mörwald <pm@pixelyourmind.de>: >> >>> >>> >>> >>> -------- Weitergeleitete Nachricht -------- Betreff: [OpenSCAD] Rotary >>> extrude with constant wall thickness, plz help! Datum: Fri, 24 Jul >>> 2015 08:57:40 -0700 (MST) Von: PYM <pm@pixelyourmind.de> >>> <pm@pixelyourmind.de> Antwort an: OpenSCAD general discussion >>> <discuss@lists.openscad.org> <discuss@lists.openscad.org> An: >>> discuss@lists.openscad.org >>> >>> Hello, >>> >>> i want to make a brim for a vessel, which needs to be an ellipsoid, but of >>> course keep cutouts for fitting on the vessel constant. I do a rotate >>> extrude of my basic shape and then scale the model. Of course the cutouts >>> get rescaled to, but i need a constant wall and cutout thickness. >>> >>> How can i achieve this, i tried a bunch of stuff but nothing worked so far. >>> >>> Please help! >>> >>> My code: >>> >>> $fn = 30; >>> >>> scale([2.5,1,1]){ >>> rotate_extrude(convexity = 10){ >>> translate([100, 0, 0]){ >>> difference(){ >>> square([10,10]); >>> translate([2.5,0,0]){ >>> square([5,10]); >>> } >>> } >>> } >>> } >>> } >>> >>> >>> >>> >>> -- >>> View this message in context: http://forum.openscad.org/Rotary-extrude-with-constant-wall-thickness-plz-help-tp13287.html >>> Sent from the OpenSCAD mailing list archive at Nabble.com. >>> >>> _______________________________________________ >>> OpenSCAD mailing listDiscuss@lists.openscad.orghttp://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org >>> >>> >>> >>> >>> _______________________________________________ >>> 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! >> > > > > -- > 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! > -- 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!
JL
Jean-Paul Louis
Fri, Jul 24, 2015 7:00 PM

What about:

$fn = 100;

module MyEllipse() { scale([2.5,1,1]) circle(100); }

difference() {
linear_extrude(10) MyEllipse();
translate([0,0,-1])
linear_extrude(12) offset(r=-2) MyEllipse();
}
difference() {
linear_extrude(10) offset(r=-8) MyEllipse();
translate([0,0,-1])
linear_extrude(12) offset(r=-10) MyEllipse();
}
That works great and fast.

Jean-Paul
AC9GH

On Jul 24, 2015, at 11:59 AM, Patrick Mörwald pm@pixelyourmind.de wrote:

-------- Weitergeleitete Nachricht --------
Betreff: [OpenSCAD] Rotary extrude with constant wall thickness, plz help!
Datum: Fri, 24 Jul 2015 08:57:40 -0700 (MST)
Von: PYM pm@pixelyourmind.de
Antwort an: OpenSCAD general discussion discuss@lists.openscad.org
An: discuss@lists.openscad.org

Hello,

i want to make a brim for a vessel, which needs to be an ellipsoid, but of
course keep cutouts for fitting on the vessel constant. I do a rotate
extrude of my basic shape and then scale the model. Of course the cutouts
get rescaled to, but i need a constant wall and cutout thickness.

How can i achieve this, i tried a bunch of stuff but nothing worked so far.

Please help!

My code:

$fn = 30;

scale([2.5,1,1]){
rotate_extrude(convexity = 10){
translate([100, 0, 0]){
difference(){
square([10,10]);
translate([2.5,0,0]){
square([5,10]);
}
}
}
}
}

--
View this message in context:
http://forum.openscad.org/Rotary-extrude-with-constant-wall-thickness-plz-help-tp13287.html

Sent from the OpenSCAD mailing list archive at Nabble.com.


OpenSCAD mailing list

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


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

What about: $fn = 100; module MyEllipse() { scale([2.5,1,1]) circle(100); } difference() { linear_extrude(10) MyEllipse(); translate([0,0,-1]) linear_extrude(12) offset(r=-2) MyEllipse(); } difference() { linear_extrude(10) offset(r=-8) MyEllipse(); translate([0,0,-1]) linear_extrude(12) offset(r=-10) MyEllipse(); } That works great and fast. Jean-Paul AC9GH > On Jul 24, 2015, at 11:59 AM, Patrick Mörwald <pm@pixelyourmind.de> wrote: > > > > > -------- Weitergeleitete Nachricht -------- > Betreff: [OpenSCAD] Rotary extrude with constant wall thickness, plz help! > Datum: Fri, 24 Jul 2015 08:57:40 -0700 (MST) > Von: PYM <pm@pixelyourmind.de> > Antwort an: OpenSCAD general discussion <discuss@lists.openscad.org> > An: discuss@lists.openscad.org > > Hello, > > i want to make a brim for a vessel, which needs to be an ellipsoid, but of > course keep cutouts for fitting on the vessel constant. I do a rotate > extrude of my basic shape and then scale the model. Of course the cutouts > get rescaled to, but i need a constant wall and cutout thickness. > > How can i achieve this, i tried a bunch of stuff but nothing worked so far. > > Please help! > > My code: > > $fn = 30; > > scale([2.5,1,1]){ > rotate_extrude(convexity = 10){ > translate([100, 0, 0]){ > difference(){ > square([10,10]); > translate([2.5,0,0]){ > square([5,10]); > } > } > } > } > } > > > > > -- > View this message in context: > http://forum.openscad.org/Rotary-extrude-with-constant-wall-thickness-plz-help-tp13287.html > > Sent from the OpenSCAD mailing list archive at Nabble.com. > > _______________________________________________ > OpenSCAD mailing list > > Discuss@lists.openscad.org > http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org > > > _______________________________________________ > OpenSCAD mailing list > Discuss@lists.openscad.org > http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
CL
Chow Loong Jin
Sat, Jul 25, 2015 3:48 AM

On Sat, Jul 25, 2015 at 04:19:30AM +0930, Greg Frost wrote:

Perhaps use 2D operations to get a cross section of the vessel shape and then
use the offset() function to create the brim. This would work for any
arbitrary shape.

Sounds like what I did here:
https://github.com/alexrj/Slic3r/issues/641#issuecomment-100101745

--
Kind regards,
Loong Jin

On Sat, Jul 25, 2015 at 04:19:30AM +0930, Greg Frost wrote: > Perhaps use 2D operations to get a cross section of the vessel shape and then > use the offset() function to create the brim. This would work for any > arbitrary shape. Sounds like what I did here: https://github.com/alexrj/Slic3r/issues/641#issuecomment-100101745 -- Kind regards, Loong Jin
P
PYM
Sun, Jul 26, 2015 1:45 PM

Hello guys,

great ideas, i will give the different solutions a try this evening. Will
report back when i got some results.

By the way, the Brim structure (intersected) is not only two walls but more
complex in reality. I hope thats still ok for the posted resolutions.

Pat

--
View this message in context: http://forum.openscad.org/Rotary-extrude-with-constant-wall-thickness-plz-help-tp13287p13305.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

Hello guys, great ideas, i will give the different solutions a try this evening. Will report back when i got some results. By the way, the Brim structure (intersected) is not only two walls but more complex in reality. I hope thats still ok for the posted resolutions. Pat -- View this message in context: http://forum.openscad.org/Rotary-extrude-with-constant-wall-thickness-plz-help-tp13287p13305.html Sent from the OpenSCAD mailing list archive at Nabble.com.
P
PYM
Mon, Jul 27, 2015 9:46 AM

Hello,

actually that works good for a cylinder object, but it doesnt work for a
complex shape like

polygon( points=[[0,0],[2,1],[1,2],[1,3],[3,4],[0,5]] );

The cross section of my brim is a complex profile. How can i do that?

Please help!

--
View this message in context: http://forum.openscad.org/Rotary-extrude-with-constant-wall-thickness-plz-help-tp13287p13319.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

Hello, actually that works good for a cylinder object, but it doesnt work for a complex shape like polygon( points=[[0,0],[2,1],[1,2],[1,3],[3,4],[0,5]] ); The cross section of my brim is a complex profile. How can i do that? Please help! -- View this message in context: http://forum.openscad.org/Rotary-extrude-with-constant-wall-thickness-plz-help-tp13287p13319.html Sent from the OpenSCAD mailing list archive at Nabble.com.