I am afraid, that will not be enough, as there will be no grid points.
By the way, there is also an "analog" approach. Make a straight print and
use your oven for bending ;-)
--
View this message in context: http://forum.openscad.org/restrict-hull-function-to-one-or-two-dimensions-tp16696p17122.html
Sent from the OpenSCAD mailing list archive at Nabble.com.
Unfortunately, it gives me an intriguing error.
ImportError: No module named inkex
--
View this message in context: http://forum.openscad.org/restrict-hull-function-to-one-or-two-dimensions-tp16696p17123.html
Sent from the OpenSCAD mailing list archive at Nabble.com.
I'll leave such projects for the future, when i'll get a more powerful PC.
The oven approach seems fine for improvisations, but not a finished, hi
quality product.
--
View this message in context: http://forum.openscad.org/restrict-hull-function-to-one-or-two-dimensions-tp16696p17124.html
Sent from the OpenSCAD mailing list archive at Nabble.com.
@ravor - you need to be using inkscape 0.91 - sounds like you have an older
version perhaps 0.48.
There was a change which moved the "units" code from one package to another
--
View this message in context: http://forum.openscad.org/restrict-hull-function-to-one-or-two-dimensions-tp16696p17125.html
Sent from the OpenSCAD mailing list archive at Nabble.com.
I combined the two paths from Dropbox together to generate a closed shape.
Then exported using paths to openSCAD. getting
// Module names are of the form poly_<inkscape-path-id>().
// As a result you can associate a polygon in this OpenSCAD program with the
// corresponding SVG element in the Inkscape document by looking for
// the XML element with the attribute id="inkscape-path-id".
// Paths have their own variables so they can be imported and used
// in polygon(points) structures in other programs.
// The NN_points is the list of all polygon XY vertices.
// There may be an NN_paths variable as well. If it exists then it
// defines the nested paths. Both must be used in the
// polygon(points, paths) variant of the command.
profile_scale = 25.4/90; //made in inkscape in mm
// helper functions to determine the X,Y dimensions of the profiles
function min_x(shape_points) = min([ for (x = shape_points) min(x[0])]);
function max_x(shape_points) = max([ for (x = shape_points) max(x[0])]);
function min_y(shape_points) = min([ for (x = shape_points) min(x[1])]);
function max_y(shape_points) = max([ for (x = shape_points) max(x[1])]);
height = 5;
width = 1.0;
path26_0_points =
[[-379.903320,-135.535175],[-380.788083,-135.480475],[-381.348631,-135.410175],[-381.500976,-135.388675],[-382.858395,-135.187505],[-383.139645,-135.140605],[-384.793944,-134.828105],[-385.387693,-134.689425],[-386.850583,-134.279275],[-387.688476,-133.986305],[-388.795897,-133.519505],[-389.364254,-133.251925],[-390.387693,-132.708965],[-390.883787,-132.419895],[-391.944335,-131.742165],[-392.252928,-131.535135],[-393.467772,-130.665995],[-393.651365,-130.529275],[-395.110350,-129.414035],[-395.356444,-129.216775],[-396.952147,-127.880835],[-397.299802,-127.570285],[-398.870115,-126.070285],[-399.350583,-125.562475],[-400.727537,-123.957005],[-401.278320,-123.226535],[-406.672849,-114.994155],[-407.038082,-114.371115],[-411.584960,-105.597675],[-411.790040,-105.167985],[-415.754880,-96.072285],[-415.844720,-95.851575],[-419.493157,-86.648455],[-419.553707,-86.492205],[-422.971677,-77.232435],[-423.045897,-77.025405],[-426.260739,-67.408215],[-426.319329,-67.228535],[-429.276361,-57.527365],[-429.325188,-57.359395],[-431.969721,-47.847675],[-432.018548,-47.656265],[-434.194329,-38.898455],[-434.241204,-38.689475],[-436.108392,-30.066425],[-436.147454,-29.875015],[-437.758783,-21.283215],[-437.788079,-21.115255],[-439.198237,-12.449235],[-439.225581,-12.267595],[-440.458004,-3.234395],[-440.481442,-3.042985],[-441.467772,6.023425],[-441.483394,6.173815],[-442.276365,15.259745],[-442.286135,15.371075],[-442.938479,24.466785],[-442.946289,24.574205],[-443.682617,37.628885],[-443.688477,37.753885],[-444.194337,50.822245],[-444.198247,50.941385],[-444.483405,64.013655],[-444.485355,64.124985],[-444.565434,77.169865],[-444.682622,85.599565],[-444.836919,94.066365],[-444.836919,94.314465],[-444.692387,102.775365],[-444.665043,103.304665],[-443.891607,111.712865],[-443.850589,112.066365],[-443.469730,114.726565],[-443.424808,115.007765],[-442.934574,117.665965],[-442.766603,118.376965],[-442.014653,120.939465],[-441.575198,122.072265],[-440.409184,124.443365],[-439.881841,125.343765],[-439.124027,126.441365],[-438.782229,126.898465],[-437.936526,127.933565],[-437.530276,128.390565],[-436.598637,129.349565],[-436.114260,129.802765],[-435.100591,130.667965],[-434.512700,131.119165],[-433.315434,131.941365],[-432.774417,132.279265],[-431.475589,133.007765],[-431.057621,133.224565],[-429.709963,133.867165],[-429.397465,134.007765],[-428.051763,134.570265],[-427.110356,134.890565],[-426.584965,135.027365],[-425.747075,135.193365],[-425.147463,135.275365],[-424.754885,135.318365],[-424.262699,135.359365],[-424.047854,135.373365],[-423.844730,135.383365],[-423.493167,135.393365],[-208.860350,135.430365],[5.770510,135.465365],[220.403320,135.500365],[435.034180,135.535365],[436.569590,135.367665],[438.032230,134.871365],[438.221679,134.783365],[438.395509,134.699365],[438.848629,134.472765],[439.161129,134.306765],[439.704099,134.000165],[440.342769,133.593865],[440.799809,133.267665],[441.942379,132.248165],[442.297849,131.851665],[442.776369,131.261865],[443.124029,130.781365],[443.323239,130.490365],[443.586919,130.086065],[443.688479,129.923965],[443.793949,129.754065],[444.571499,127.974665],[444.836919,126.050965],[444.836919,124.945465],[444.836919,123.839965],[444.836919,122.736465],[444.836919,121.630965],[444.834919,121.433765],[444.680629,115.937665],[444.315389,102.593865],[443.877889,86.113465],[443.510699,71.201305],[443.250939,60.629035],[443.250939,60.607535],[442.959919,50.103625],[442.959919,50.089925],[442.647419,39.587975],[442.647419,39.579975],[442.321249,29.013575],[442.022419,19.052635],[441.723579,9.019435],[441.721579,8.996035],[441.387599,-1.035215],[441.385599,-1.084015],[440.985209,-11.044955],[440.985209,-11.074255],[440.563339,-20.578165],[440.563339,-20.580165],[440.137559,-30.082125],[440.137559,-30.097725],[439.694199,-39.599675],[439.692199,-39.627075],[439.211739,-49.127075],[439.209740,-49.164175],[438.742950,-57.552845],[438.740950,-57.580145],[438.242910,-65.919995],[438.242910,-65.935595],[437.721420,-74.369195],[437.721420,-74.371195],[437.188220,-82.998145],[436.928450,-88.396585],[436.682360,-94.136815],[436.672360,-94.308695],[436.285640,-100.050885],[436.246540,-100.459085],[435.564900,-105.875095],[435.482900,-106.382915],[434.879380,-109.384865],[434.787580,-109.787205],[434.010230,-112.754005],[433.891090,-113.158305],[432.939920,-116.074315],[432.791480,-116.482525],[431.666480,-119.328225],[431.549300,-119.605565],[430.756330,-121.386815],[430.611800,-121.689555],[429.732890,-123.437595],[429.432100,-123.974705],[428.410620,-125.629005],[427.883280,-126.371195],[426.666480,-127.873145],[425.672340,-128.875095],[423.605940,-130.580175],[422.920390,-131.080175],[420.406720,-132.691505],[420.068830,-132.894635],[417.947730,-134.093845],[417.762190,-134.195415],[416.867660,-134.666115],[415.266820,-135.274195],[413.566870,-135.480565],[215.199690,-135.494265],[16.832500,-135.507965],[-181.536640,-135.521665],[-379.903835,-135.533365],[-379.903332,-135.535365],[-379.458007,-121.363295],[-181.536130,-121.349595],[16.831060,-121.335895],[215.200200,-121.322195],[411.762700,-121.310495],[412.924809,-120.654245],[414.913090,-119.378855],[416.106450,-118.394475],[416.590820,-117.798775],[417.211919,-116.792915],[417.877929,-115.466745],[418.541989,-113.976505],[419.534179,-111.470645],[420.352539,-108.962835],[421.024419,-106.398385],[421.534179,-103.851505],[422.157230,-98.896435],[422.526370,-93.443305],[422.770510,-87.771435],[422.772510,-87.736235],[423.034229,-82.271395],[423.040229,-82.173695],[423.577339,-73.497915],[424.096869,-65.072135],[424.592959,-56.753775],[425.057809,-48.396355],[425.536319,-38.925645],[425.979679,-29.445175],[426.403509,-19.949085],[426.825389,-10.462755],[427.223819,-0.540885],[427.555859,9.453255],[427.856639,19.474745],[428.153509,29.437635],[428.153509,29.445635],[428.481639,40.012045],[428.794139,50.502275],[429.083199,60.986655],[429.342959,71.547195],[429.710149,86.467065],[429.710149,86.481065],[430.147649,102.971265],[430.147649,102.981265],[430.512889,116.328965],[430.514889,116.328965],[430.655509,121.358265],[220.405509,121.323265],[5.774659,121.288265],[-208.858161,121.253265],[-423.242923,121.218265],[-423.760501,121.001465],[-424.740970,120.534665],[-425.555424,120.077565],[-426.182377,119.645965],[-426.662845,119.235865],[-427.149171,118.735865],[-427.619879,118.157665],[-427.920659,117.724065],[-428.584721,116.368665],[-429.061282,114.741665],[-429.459720,112.581465],[-429.793705,110.237765],[-430.526127,102.270965],[-430.662846,94.198665],[-430.510501,85.841265],[-430.510501,85.810265],[-430.393314,77.337565],[-430.393314,77.282565],[-430.313476,64.267565],[-430.030272,51.310525],[-429.528320,38.365215],[-428.797850,25.427715],[-428.153319,16.439435],[-427.370117,7.482405],[-426.401366,-1.414075],[-425.194335,-10.261735],[-423.811520,-18.753925],[-422.235351,-27.164075],[-420.411133,-35.587905],[-418.288082,-44.146505],[-415.692380,-53.478535],[-412.788083,-63.003925],[-409.637693,-72.425795],[-406.286132,-81.503925],[-402.713866,-90.519545],[-398.891601,-99.287125],[-394.620116,-107.527365],[-389.674804,-115.074235],[-388.823241,-116.064465],[-387.674802,-117.162125],[-386.375974,-118.250015],[-385.131834,-119.201185],[-384.161131,-119.896505],[-383.500974,-120.318375],[-383.008787,-120.578145],[-382.598632,-120.751965],[-381.858396,-120.959005],[-380.643552,-121.189465],[-379.504882,-121.357435],[-379.458012,-121.363435],[-379.458008,-121.363295]];
path26_0_paths =
[[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201],
[202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302]];
module poly_path26(h, w, res=4) {
scale([profile_scale, -profile_scale, 1])
union() {
linear_extrude(height=h)
polygon(path26_0_points, path26_0_paths);
}
}
// The shapes
poly_path26(height, width);
Of course you'll need to scale it - either in Inkscape (choosing correct
units) first or in OpenSCAD using this code. Helpful function to do just
that is at head. Consult the thingiverse for an example usage.
http://forum.openscad.org/file/n17126/rjqvl2.jpg
--
View this message in context: http://forum.openscad.org/restrict-hull-function-to-one-or-two-dimensions-tp16696p17126.html
Sent from the OpenSCAD mailing list archive at Nabble.com.
I think we are converging...without the oven procedure. :)
As a proof of the concept, I coded my proposal of using sweep with a fake
frame profile and arbitray modulation function. And got this:
http://forum.openscad.org/file/n17127/modulation1.png
It spent 68sec to render. A huge gain as I previewed.
The Oskar sweep technique is a little tricky. I used his own variation
called minimum torsion sweep you may find here
http://forum.openscad.org/Twisty-problem-with-scad-utils-quot-sweep-quot-td9775.html
with a little mod I did for closed paths. A previous version of the mod was
presented here
http://forum.openscad.org/Minimizing-torsion-sweep-for-closed-paths-tc15813.html
. Those variation and mods intend to reduce unexpected sweep torsions.
Here is the code I have used to generate the above image.
modulate_example.scad
http://forum.openscad.org/file/n17127/modulate_example.scad
I hope it helps.
--
View this message in context: http://forum.openscad.org/restrict-hull-function-to-one-or-two-dimensions-tp16696p17127.html
Sent from the OpenSCAD mailing list archive at Nabble.com.
Great! I will take a look as I will have to also bend it a little in the y
direction.
On Fri, 15 Apr 2016 17:04 Ronaldo [via OpenSCAD], <
ml-node+s1091067n17127h42@n5.nabble.com> wrote:
I think we are converging...without the oven procedure. :)
As a proof of the concept, I coded my proposal of using sweep with a fake
frame profile and arbitray modulation function. And got this:
It spent 68sec to render. A huge gain as I previewed.
The Oskar sweep technique is a little tricky. I used his own variation
called minimum torsion sweep you may find here
http://forum.openscad.org/Twisty-problem-with-scad-utils-quot-sweep-quot-td9775.html with
a little mod I did for closed paths. A previous version of the mod was
presented here
http://forum.openscad.org/Minimizing-torsion-sweep-for-closed-paths-tc15813.html.
Those variation and mods intend to reduce unexpected sweep torsions.
Here is the code I have used to generate the above image.
modulate_example.scad
http://forum.openscad.org/file/n17127/modulate_example.scad
I hope it helps.
If you reply to this email, your message will be added to the discussion
below:
http://forum.openscad.org/restrict-hull-function-to-one-or-two-dimensions-tp16696p17127.html
To unsubscribe from restrict hull function to one or two dimensions, click
here
http://forum.openscad.org/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=16696&code=Y29sdG9pdS5tYXRlaUBnbWFpbC5jb218MTY2OTZ8LTIxMDM2NjIxOTQ=
.
NAML
http://forum.openscad.org/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml
--
View this message in context: http://forum.openscad.org/restrict-hull-function-to-one-or-two-dimensions-tp16696p17128.html
Sent from the OpenSCAD mailing list archive at Nabble.com.
Note that the sweep approach for your problem has a limited scope. First it
requires that the section of each bar is constant along the path. And that
there is not a big warping.
Depending on your modulation function, you will need another tweak in the
sweep to allow a controled torsion be added to the bars.
2016-04-15 11:23 GMT-03:00 rav0r coltoiu.matei@gmail.com:
Great! I will take a look as I will have to also bend it a little in the y
direction.
On Fri, 15 Apr 2016 17:04 Ronaldo [via OpenSCAD], <[hidden email]
http:///user/SendEmail.jtp?type=node&node=17128&i=0> wrote:
I think we are converging...without the oven procedure. :)
As a proof of the concept, I coded my proposal of using sweep with a fake
frame profile and arbitray modulation function. And got this:
It spent 68sec to render. A huge gain as I previewed.
The Oskar sweep technique is a little tricky. I used his own variation
called minimum torsion sweep you may find here
http://forum.openscad.org/Twisty-problem-with-scad-utils-quot-sweep-quot-td9775.html with
a little mod I did for closed paths. A previous version of the mod was
presented here
http://forum.openscad.org/Minimizing-torsion-sweep-for-closed-paths-tc15813.html.
Those variation and mods intend to reduce unexpected sweep torsions.
Here is the code I have used to generate the above image.
modulate_example.scad
http://forum.openscad.org/file/n17127/modulate_example.scad
I hope it helps.
If you reply to this email, your message will be added to the discussion
below:
http://forum.openscad.org/restrict-hull-function-to-one-or-two-dimensions-tp16696p17127.html
To unsubscribe from restrict hull function to one or two dimensions, click
here.
NAML
http://forum.openscad.org/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml
View this message in context: Re: restrict hull function to one or two
dimensions
http://forum.openscad.org/restrict-hull-function-to-one-or-two-dimensions-tp16696p17128.html
Sent from the OpenSCAD mailing list archive http://forum.openscad.org/
at Nabble.com.
OpenSCAD mailing list
Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
"Hi quality", hmm, I wonder, how you will print it. If you use some FDM
printer, you might have a lot of support structure to get rid of.
--
View this message in context: http://forum.openscad.org/restrict-hull-function-to-one-or-two-dimensions-tp16696p17130.html
Sent from the OpenSCAD mailing list archive at Nabble.com.
So.. I have openscad 2014.03, which is the latest one for Linux on their
website.
--
View this message in context: http://forum.openscad.org/restrict-hull-function-to-one-or-two-dimensions-tp16696p17131.html
Sent from the OpenSCAD mailing list archive at Nabble.com.