LDraw.org Discussion Forums
[LDPartEditor] 0.8.20 Beta Released - 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: [LDPartEditor] 0.8.20 Beta Released (/thread-21685.html)

Pages: 1 2 3


Duplicate buttons / "Toggle Comment" in 3D - Nils Schmidt - 2016-07-31

(2016-07-31, 15:51)Magnus Forsberg Wrote: If we now can have both 3D and text editor in the same window, why do we still have two sets of Save buttons and two sets of colour pallettes?

Why can't I "Select all with same colour", use "Join Selection" in the 3D viewer, but not hide them with the "Toggle Comment"-button in the Text editor?
It' behaves as if it still is two different programs, even if they now are joined in the same window.

Well, I kept these two sets because of the fact that a 3D editor is not a text editor.
There are also shorter mouse distances to the corresponding save buttons and it is clear that "Save" (in the text editor) will save the file there and not the active file from the 3D editor (the file in the text and the 3D editor can be the same, but this is not a must-have).
With only one save button you have to select one file in the text editor and take care to not activate another file in the 3D editor.
You have Ctrl+S as a shortkey to save a file. You can use it.


I should tell you more about the design philosophy of this program...
You can open different files in the text editor and different files in the 3D editor.
And you can edit a file in both editors at the same time.

But: The user should not be forced to edit a file in both editors at the same time.
It is also possible to open different files in the 3D editor at the same time (in different views).
I will not take away that degree of freedom from the user.

However..., I will remove one colour palette, since a second one is really superflous.

I can't do this. There is a function scope ambiguity if I remove the second colour bar.

[Image: selection_ambiguity.png]

Why can't you hide with the "Toggle Comment" in the 3D editor?
Well, in 3D, there are no comments visible. You can hide a selection or show all 3D objects.
But you can't hide subfile elements with a comment... that is not so easy*.

What is a comment in 3D?
Does it exist? How can you see it? Will it be manipulated? How can you know that a comment is hiding a valid object that you want to show again or even edit?
How do you want to show/uncomment the object again? How should the program implement this?

This lead to some idea of another meta command like "0 !LPE GHOST "...
But is this necessary, since there is the possibility...
  • to hide it temporary (with the ghost function)...
  • comment it manually...
  • to create a subfile from the selection and hide/comment the subfile reference...
  • to cut something and paste it into another file...
  • to cut something and paste it into the same file and comment it in the text editor...
  • group something in the text editor and comment it in the text editor...
  • to make it transparent and activate "Toggle Selection Through Transparent Objects", which allows you to select objects behind transparent surfaces
Another idea would be, to extend the scope of the "Toggle Comment" function from the text editor to the selection of the 3D editor and allow only one way:
To hide the selection with a comment. But that leads to another function scope ambiguity

I would rather continue to write more text for the user manual instead of implementing a new fancy toggle comment feature.






* unless you are familar with the !LPE INLINE meta command...


RE: [LDPartEditor] 0.8.20 Beta Released (3D+Text in 1 Window / Join / Selection+ / Tabs+) - Willy Tschager - 2016-08-02

Feature request of the day:

* As a user I'd like to have icons to quickly "fullscreen" either the Text or 3D editor and a third icon which restores the divided view:

   

* As a user I'd like to have the position of the divider between Text and 3D editor saved so that at start-up I do not have to move it to my preferred position every time
* As a user I'd like that issue https://github.com/nilsschmidt1337/ldparteditor/issues/120 gets high priority
* As a user I'd like that issue https://github.com/nilsschmidt1337/ldparteditor/issues/118 gets high priority

Thanks, w.


RE: [LDPartEditor] 0.8.20 Beta Released (3D+Text in 1 Window / Join / Selection+ / Tabs+) - Willy Tschager - 2016-08-02

Guys,

is there a setting I missed to have LDPE report identical line errors?

w.


RE: Duplicate buttons / "Toggle Comment" in 3D - Magnus Forsberg - 2016-08-02

I do understand the need for duplicated sets of tools, since we have the possibillity of having different files open in each editor.

What I'm asking for is, if I remember correctly, similar to what Willy also have asked for, making the selected object directly editable in the text editor. As a user I want to select objects in the 3D viewer, use Show Selection in Text Editor, and then edit them in the text editor.
As it is made now, I have to select the highlighted objects again, before I can edit it. (And maybe it should stay like that.)

To me, the Ghost button is not good enough. I don't like the Unhide All-function. I want to have better control of my hidden objects. I hide different sections of the part I'm working on using the Toggle comment-button instead. And I can't see which objects are "hidden" in the text editor.

I do like the "Join Selection (Text Editor)". It made turning them into comments easier. (but it also wrecks the structure of my file....)
I can learn to work with the Ghost-button and use Toggle Comments if I want to.


I appreciate that you want to add more to the User Manual instead.


Bug report:
Having many open tabs in either editor, and hovering over the Close-cross, the cross turns red.
I can click on any of the crosses, but only the active tab will be closed instead. Not the tab I clicked in.


RE: [LDPartEditor] 0.8.20 Beta Released (3D+Text in 1 Window / Join / Selection+ / Tabs+) - Willy Tschager - 2016-08-02

Bug of the day:

* C2L and L2C is broken It's working, not working. Cannot figure out when things go wrong.

w.


RE: [LDPartEditor] LPE Mirror - Philippe Hurbain - 2016-08-03

Wish of the day:
In order to ease the creation of symmetrical parts, I would like to have a new meta command, !LPE MIRROR <X,Y,Z> ... !LPE MIRROR END. All elements placed in MIRROR section would show up in normal orientation and in mirrored one. A button would allow to add new elements to the mirror section if pressed, or to the "middle" section if released. Another button would allow to hide the mirrored elements (to see inside part). Of course vertices of the mirrored elements would be active when not hidden, allowing to easily attach elements of the "middle". At the end, the mirror section could be converted to a subpart if size justify, or "compiled" into truely mirrored elements.


Remove duplicated lines? - Nils Schmidt - 2016-08-03

(2016-08-02, 11:27)Willy Tschager Wrote: is there a setting I missed to have LDPE report identical line errors?

Currently, it is only possible to silently remove duplicates with the "Remove Duplicates" button in the text editor.
A decent approach to detect duplicates is independent of the vertex position.

E.g.

Quote:3 16 0 0 0 1 0 0 0 1 0

and

Quote:3 16 1 0 0 0 1 0 0 0 0

are different text lines, but logical duplicates.

The detection should ideally run after the text was modified (even a single letter input can create a duplicate).
So it can be quite time consuming to detect duplicates properly on a file with e.g. 16.000 lines.
A realtime detection is still possible...
It is an asynchronous task which runs in the background and the user does not wait for it to complete.

The implementation and testing will take about a week, if I decide to implement this feature (It's multi-threading. It is not easy.).
I created a ticket for this...

I have to finish milestone 0.8.21 first and I really would like to spend more time on writing the wiki/manual pages...


Divider position not saved. - Nils Schmidt - 2016-08-03

(2016-08-02, 11:26)Willy Tschager Wrote: * As a user I'd like to have icons to quickly "fullscreen" either the Text or 3D editor and a third icon which restores the divided view:
* As a user I'd like to have the position of the divider between Text and 3D editor saved so that at start-up I do not have to move it to my preferred position every time

Thanks! I created some tickets (#398, #397).

Quote:* As a user I'd like that issue https://github.com/nilsschmidt1337/ldparteditor/issues/120 gets high priority
* As a user I'd like that issue https://github.com/nilsschmidt1337/ldparteditor/issues/118 gets high priority

Well, as a product owner, I am in control of the backlog. I will decide when issue #120 and issue #118 will be fixed... not you, Willy Smile

50 issues are open.
I closed in total 348 issues, implemented 156 features and fixed 185 bugs on my own (LDPE has about 115.000 lines of code).
I have to set my priorities to continue the good and solid work on this project.

Instead of spamming new buttons on the GUI, I should provide options to make the GUI more customizable and I really should write more text on the wiki.
Every significant change to the GUI makes it harder to plan my wiki writing tasks... I need up-to-date screenshots from the GUI for the wiki.


RE: [LDPartEditor] LPE Mirror - Nils Schmidt - 2016-08-03

I really like this feature Smile

However, it...
  • will take time to implement (if I really do this, I want a fast "realtime" mirror).
  • will be a feature for the advanced / expert user
  • will need some tricks to allow the modification on both sides of the mirror (so you don't have to care which side is editable).
  • will require CPU horsepower for the mirror transformation
  • will support only one mirror per file and no mirror within subfiles (allowing more would be very hard to implement with performance in mind).
  • will be necessary to introduce a new mirror mode and do some other fundamental changes to the code base (due to performance reasons)



Non-standard "primitives" / PrimGen2 clone - Nils Schmidt - 2016-08-03

I am working on a PrimGen2 clone...
But you'll have to wait for release 0.8.22.

I can't include it in the upcoming milestone 0.8.21.
0.8.21 has 7 bug-fixes and 7 enhancements.
I want to release it first Smile

...and then I'll focus on primitive generation and identical line detection.