![]() |
|
[LDPE] 1.8.86 Released (CSG Sphere / CSG bugfix) - Printable Version +- LDraw.org Discussion Forums (https://forums.ldraw.org) +-- Forum: LDraw Programs (https://forums.ldraw.org/forum-7.html) +--- Forum: Parts Author Tools (https://forums.ldraw.org/forum-24.html) +--- Thread: [LDPE] 1.8.86 Released (CSG Sphere / CSG bugfix) (/thread-28385.html) |
[LDPE] 1.8.86 Released (CSG Sphere / CSG bugfix) - Nils Schmidt - 2024-08-20 Hey, the new sphere from LDView is now used for LDPartEditor's CSG logic. Here you see a CSG example: Code: 0 BFC CERTIFY CCW
0 !LPE CSG_QUALITY 16
0 // SYNTAX 1 0 !LPE [CSG FORM] [ID] [COLOUR] [MATRIX]
0 !LPE CSG_CUBOID a 4 0 0 0 1 0 0 0 1 0 0 0 1
0 !LPE CSG_ELLIPSOID b 1 0 0 0 1.35 0 0 0 1.35 0 0 0 1.35
0 !LPE CSG_CYLINDER c 2 0 -1 0 .7 0 0 0 2 0 0 0 .7
0 !LPE CSG_CYLINDER d 2 -1 0 0 0 2 0 .7 0 0 0 0 .7
0 !LPE CSG_CYLINDER e 2 0 0 -1 .7 0 0 0 0 .7 0 2 0
0 // SYNTAX 2 0 !LPE [CSG FUNCTION] [ID] [ID2] [ID3]
0 !LPE CSG_UNION c d d
0 !LPE CSG_UNION d e d
0 !LPE CSG_INTERSECTION a b f
0 !LPE CSG_DIFFERENCE f d f
0 // SYNTAX 3 0 !LPE CSG_COMPILE [ID]
0 // Inline the following line to get the triangles from the CSG object "f"
0 !LPE CSG_COMPILE fAs always, you can download LDPE from this page: http://nilsschmidt1337.github.io/ldparteditor/ Changelog: (2 new features and 1 bug fix) With this release you will be able to...
The following critical issue is fixed:
The program was tested intensively with "real world" files. However, something can go wrong in about 140.000 lines of code. Installation on Windows:
I listen carefully to your requests and possible complaints. Please leave me a message, with your thoughts and wishes to further improve the software. LDPE is a 3D CAD application: The overall system requirements are higher. While I recommend to use a powerful 64-bit multicore system, it could be possible, to run LDPE on older machines as well. System Requirements: Minimum System Requirements:
RE: [LDPE] 1.8.86 Released (CSG Sphere / CSG bugfix) - Gerald Lasser - 2025-01-14 Hi Nils, I just used CSG again and remmebered that you adapted something in the CSG. I had to search this now as I am missing the old sphere model. I actually liked the old sphere as it gave quads, which are better to use for 1-16th sections of a sphere or rounded corners Can I still make use of the old sphere model? Is there a switch in the command line/Meta command? Thansk The old CSG Sphere... - Nils Schmidt - 2025-01-16 (2025-01-14, 17:06)Gerald Lasser Wrote: Hi Nils, Thanks, Gerald. I created an issue (#1126). The old sphere model is currently not available, but this is trivial to implement and will be included with the next release (CSG_ELLIPSOID2). RE: The old CSG Sphere... - Gerald Lasser - 2025-01-17 (2025-01-16, 17:41)Nils Schmidt Wrote: Thanks, Gerald. I created an issue (#1126). Thanks a lot! |