Timeline for Generating cylindrical geometry via extruding a section
Current License: CC BY-SA 3.0
17 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Apr 23, 2016 at 14:31 | history | edited | xyz | CC BY-SA 3.0 | edited title |
| Apr 23, 2016 at 14:05 | history | edited | xyz | CC BY-SA 3.0 | deleted 13 characters in body |
| Jul 22, 2014 at 2:48 | vote | accept | xyz | ||
| Jul 22, 2014 at 0:41 | comment | added | xyz | @Mr.Wizard,My vision is 8.0.4 | |
| Jul 21, 2014 at 16:54 | answer | added | Stephen Luttrell | timeline score: 6 | |
| Jul 21, 2014 at 15:32 | comment | added | Mr.Wizard | @Tangshutao Which version of Mathematica are you using? | |
| Jul 21, 2014 at 15:30 | history | edited | Mr.Wizard | CC BY-SA 3.0 | added 4 characters in body; edited title |
| Jul 21, 2014 at 15:03 | comment | added | xyz | @Stephen Luttrell,Oh,thanks,You can add this to answer,and make a example(for my geomatry that shown). | |
| Jul 21, 2014 at 14:53 | comment | added | Stephen Luttrell | Does this do the sort of thing you are looking for? - extrude = {0, 0, 1}; rule2Dto3D = {x_?AtomQ, y_?AtomQ} :> {x, y, 0}; ruleLine2Polygon = Line[{p_?VectorQ, q_?VectorQ}] :> Polygon[{p, q, q + extrude, p + extrude}]; ruleCircle2Cylinder = Circle[p_?VectorQ, r_?AtomQ] :> Cylinder[{p, p + extrude}, r]; object2D = {Line[{{0, 0}, {8, 0}}], Circle[{0, 0}, 2], Circle[{8, 0}, 1]}; object3D = object2D /. rule2Dto3D /. {ruleLine2Polygon, ruleCircle2Cylinder}; {Graphics@object2D, Graphics3D@object3D}. It is limited to extruding line segments and circles, but extra 2D to 3D rules could be added. | |
| Jul 21, 2014 at 14:39 | comment | added | xyz | @Mr.Wizard,In Jens's method,ColorReplace and Raster3D is not in V8,in addition,halirutan's solution takes many time to calculate and it is hard to rotate. | |
| Jul 21, 2014 at 14:20 | comment | added | Mr.Wizard | @george2079 Okay. As you can see I did not close the question. :-) | |
| Jul 21, 2014 at 14:17 | comment | added | george2079 | I agree this is not a duplicate since he seems to want an analytic representation of the solid. Unfortunately I think the answer is simply 'no there is not a straightforward general approach' | |
| Jul 21, 2014 at 13:03 | comment | added | xyz | @Mr.Wizard,I would like to use a geomatry that can rotate freely to construct a robot model,Can you help me? | |
| Jul 21, 2014 at 12:59 | history | edited | xyz | CC BY-SA 3.0 | added 54 characters in body |
| Jul 21, 2014 at 12:58 | comment | added | xyz | @Mr.Wizard,I think it isn't duplicte,because (6206) is just a image,not a geomatry that can rotate. | |
| Jul 21, 2014 at 12:53 | comment | added | Mr.Wizard | Related: How to extrude a 3D image from a binary 2D image. | |
| Jul 21, 2014 at 12:43 | history | asked | xyz | CC BY-SA 3.0 |