20455 - Hemisphere 9 x 4 x 7 (from Jurassic World) - Printable Version +- LDraw.org Discussion Forums ( https://forums.ldraw.org)+-- Forum: Models and Parts ( https://forums.ldraw.org/forum-18.html)+--- Forum: Part Requests ( https://forums.ldraw.org/forum-30.html)+--- Thread: 20455 - Hemisphere 9 x 4 x 7 (from Jurassic World) ( /thread-16357.html) |

20455 - Hemisphere 9 x 4 x 7 (from Jurassic World) - Gerald Lasser - 2015-05-08
I am working on this part right now: - Need to check the dimensions again as I think I measured them actually smaller than 9 studs. - Refine the intersections and edges, as the part is transparent, they need to fit. Wanted to have it done in LDPE, however its not starting... (need a reboot) Re: 20455 - Steps with LDPE - Gerald Lasser - 2015-05-09
The first round part of the sphere I did with Pathtruder, however I wanted to try the CSG with LDPE to get a proper result. I want to list the steps here, first of all the final result of the CSG operations: I made the blind stud transparent to show the pocket that is there. To start we need some Hi-Res spheres, i.e. 48 divisions of a circle, for the outer and inner surfaces. Code: `0 !LPE CSG_QUALITY 48` Now we need the inner parts, which are all formed from cylinders. Those are the bases for the Axleholes and the blind stud as I call it for a lack of better name. I have decided not to use hi-res here so switch back to 16 sides: Code: `0 !LPE CSG_QUALITY 16` Now we need the 3mm wide hole for the bases and a slightly larger cylinder to get the pocket within the Blind Stud Code: `0 !LPE CSG_CYLINDER HoleR 16 50 18 0 0 25 0 0 0 4 4 0 0` The final parts are used to cut the bowl into shape: Code: `0 !LPE CSG_CUBOID Cube 16 90 68 0 90 0 0 0 90 0 0 0 90` All parts are now available and the construction starts! The first step is to unite the inner parts and cut the pocket. I tried to cut the pocket in the end, but this did not form the bottom of the pocket, so I did it at this step as well: Code: `0 !LPE CSG_UNION AxleHoleR AxleHoleL InnerParts` Second Step is to cut the inner parts with the shape of the Inner Sphere as they need to be attached to this surface: Code: `0 !LPE CSG_INTERSECTION InnerParts InnerSphere InnerParts` As the inner parts are nearly done, I can do the bowl itself: First cut the sphere in half, the subtract the inner sphere Code: `0 !LPE CSG_INTERSECTION OuterSphere Cube OuterSphereHalf` Next we put in the Inner Parts into the bowl: Code: `0 // Add the Inner Parts` Finally we need to cut off the unwanted parts and we get the final result before adding primitives. Code: `0 // Cut off the Top and Bottom of the bowl` Kudos to Nils for this fine SW that made the generation of this central subpart very smooth! Re: 20455 - Hemisphere 9 x 4 x 7 (from Jurassic World) - Philippe Hurbain - 2015-05-11
Great tutorial! Do you still have intermediate dat files? I really need to find time to play with LDPE!!! Re: 20455 - Hemisphere 9 x 4 x 7 (from Jurassic World) - Gerald Lasser - 2015-05-11
I just noticed that the final inlineing of the entire CSG will give me a lot of T-Junctions. I mean rally a lot. If I cut off the part first with the help of the cubes, the result looks very good as a DAT: When I then subtract the inner sphere and convert it to DAT, a whole bunch of T-Junctions occur all over: Looks like there is some tweaking necessary: I can avoid a lot of those T-Junctions when I do the inner and outer surface as separate CSGs. However I have to edit the result, remove covering triangles etc. and then do the second CSG and finally merge them in a file. I tried experimenting with the Epsilon value, but I got no better result. Re: 20455 - Hemisphere 9 x 4 x 7 (from Jurassic World) - Max Martin Richter - 2015-05-12
Am I blind? I can't see t-junctions in your screenshots, but a lot of strange triangulation in the 2nd and 3rd picture. /Max Re: 20455 - Hemisphere 9 x 4 x 7 (from Jurassic World) - Gerald Lasser - 2015-05-12
You are right, in the picture I posted there are no T-junctions, however once you 'drill' a hole you get them. You can clean them up by joining the vertices, sometimes this function stops working, so open and close the file again. The CSG is really nice, but I will do the shape now in a two step approach. First I thought the wall is too thin, just 2,5 LDU but the strange tri-angles do not depend on the size of the inner sphere. When I do the complete sphere with CSG, I also get "shadows" of the intersection of the axle-hole with the inner sphere projected onto the outer sphere. Re: 20455 - Hemisphere 9 x 4 x 7 (from Jurassic World) - Max Martin Richter - 2015-05-12
Ah ok, good to know, that my eyes are working correctly. That is indeed a bad behavior what you found out. Anyway I have never used Nils' program until now. /Max CSG - Weird Triangulations - Nils Schmidt - 2015-06-04
The problem is not related to the epsilon value. I just have to improve the implementation of the resulting triangulation. This is not the easiest task, it will take some time Joining the vertices freezed LDPE - Nils Schmidt - 2015-06-04
Gerald Lasser Wrote:[...] This issue should be fixed with version 0.8.1 or newer. Re: Joining the vertices freezed LDPE - Gerald Lasser - 2015-06-05
Thansk! |