LDraw.org Discussion Forums
[LDPatternCreator] Release 1.6.2 (Primitive Fix) - 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: [LDPatternCreator] Release 1.6.2 (Primitive Fix) (/thread-21654.html)

Pages: 1 2 3


RE: [LDPatternCreator] Precision problem with projection on template - Philippe Hurbain - 2016-11-15

(2016-11-14, 23:53)Nils Schmidt Wrote: Hi Philo,

I am aware of this problem. I had to create my own arbitrary decimal data type since the .net framework has no out-of-the-box data types for this kind of task.
It is not easy to find a solution for this precision problem. I will investigate what I can do...
Thanks and good luck Wink


RE: [LDPatternCreator] Release 1.6.2 (Primitive Fix) - Willy Tschager - 2016-11-29

Feature request of the day:

* As a user I'd like to have a slider for the opacity of the colors, rather than just four values to chose from.
* As a user I'd like to have also an opacity slider for the background image.
* As a user I'd like to have LDPE's "Unify triangles into quads" button.

w.


RE: [LDPatternCreator] Release 1.6.2 (Primitive Fix) - Willy Tschager - 2017-01-15

Feature request of the day:

* As a user I'd like to rotate a selection of vertices with the last selected vertex as rotation point.
* As a user I'd like to align vertices on the left/right/middle/top/bottom/center as I do in PS or IL.
* As a user I'd like to copy-convert say a disc into a ndis (sure I can do it with the matrix but I'd like to have a one-click-feature). I need this mainly to create a disk with the tools I have and then wrap a ndis with the same characteristics around.
* As a user I'd like to have icons for Undo and Redo
* As a user I'd like to have the current drop-down menu for the modes separated into three distinct icons: Vertices/Triangles/Prims
* As a user I'd like to have LDPE's distance meter and protractor

w.


RE: [LDPatternCreator] Release 1.6.2 (Primitive Fix) - Philippe Hurbain - 2017-01-15

Agree on all these, but special mention to...
Quote:* As a user I'd like to rotate a selection of vertices with the last selected vertex as rotation point.
...sorely needed!


RE: [LDPatternCreator] Release 1.6.2 (Primitive Fix) - Willy Tschager - 2017-01-20

Feature request of the day:

* As a user I'd like to scale just in one direction (x or y) - not sure if this was on the wishlist of someone else.
* As a user I wish LDPC had a better memory management. Loading a 2,6 MB jpg the progs seams to have a some sort of hickup and slows down notably. When I hide the background pic everything is back to normal. Therefore it must be the filesize.
* As a user I wish the file's name I'm working on shows up along the title in the very top bar.

w.

Nonetheless - if we didn't have LDPC making patterns would be still a nasty thing, so thanks for the prog!


RE: [LDPatternCreator] Release 1.6.2 (Primitive Fix) - Willy Tschager - 2017-01-24

Feature request of the day:

* As a user I'd like to have an auto-filler, which fills the room between selected vertices with triangles (trying to avoid long, small triangles as much as possible).

w.


RE: [LDPatternCreator] Release 1.6.2 (Primitive Fix) - Willy Tschager - 2017-01-24

(2017-01-24, 11:47)Willy Tschager Wrote: Feature request of the day:

* As a user I'd like to have an auto-filler, which fills the room between selected vertices with triangles (trying to avoid long, small triangles as much as possible).

w.

Ha, ha, ... looks like I need such a tool desperately: http://forums.ldraw.org/thread-21935-post-24086.html#pid24086

w.


RE: (solved?) Precision problem with projection on template - Nils Schmidt - 2017-02-07

Philippe Hurbain Wrote:Hi Nils, sorry to disturb you from LDPE work, but...

While trying to create a template for tepee canvas (see this thread) I get precision issues (unmatching surfaces) when projecting on template.

I found out what was going wrong here...
Based on your tepee files, I created a small testcase with only two triangles and two projections...
The four points from the 3D space projections were not exactly on the same plane, e.g.


Code:
{148.9761 -244.3164; -130.5928 -136.1805; -129.882 -133.6628; 155.3681 -225.7627} {119.01 -5.000004 91.32; 15.868 -275 12.176; 14.142 -275 14.142; 106.065 -5.000004 106.065}
{155.3681 -225.7627; -129.882 -133.6628; -129.3147 -131.1094; 160.6992 -206.8793} {106.065 -5.000004 106.065; 14.142 -275 14.142; 12.176 -275 15.868; 91.32 -5.000004 119.01}

are two projections which were not able to map a common point from the 2D space to [14.142 | -275 | 14.142].
Therefore the resulting projection matrix was "incorrect".
Normally, LDPC fixes this, by splitting the non-coplanar quad projection into two triangles, but the threshold was too low in this case.

However, I attached a corrected version of the tepee test template and the corresponding LPC file. I hope this helps for now.

Last but not least, I could implement another approach*, without the calculation of the projection matrix, but I am currently not sure if there are any caveats.
I could calculate the UV coordinates in 2D and transform them into 3D... but this wont work if you want to project a whole primitive or subfile from 2D to 3D (this requires a projection matrix).

edit: * I will implement this new UV-based approach. But, I need time and a rainy day first Wink


RE: [LDPatternCreator] Release 1.6.2 (Primitive Fix) - Willy Tschager - 2017-02-14

Feature reuqest of the day:

* Layers (with a management as in PS) for background, the pattern itself and help lines, triangles, curves, cylinders you need for construction but not in the actual pattern, with the chance to blend them out/in with a mouse click once you don't need it any more. Current I color them differently and move them to the border but it's not ideal 'cos selection with CTRL is a pain when they overlay.

w.


"Auto-filler" - Nils Schmidt - 2017-02-14

(2017-01-24, 11:47)Willy Tschager Wrote: Feature request of the day:

* As a user I'd like to have an auto-filler, which fills the room between selected vertices with triangles (trying to avoid long, small triangles as much as possible).

w.

Hi Willy,

this feature is going to be implemented on the long run. I even want to take one step further and automatise the whole colouring process.
However... my whole concept is designed for isolated vertices (which are still placed by humans, of course, unless you want some noisy A.I. mush)

I implemented the Lines2Pattern tool in LDPartEditor months ago as a complex case study for LDPC.

Leg godt,

Nils