LDraw.org Discussion Forums
[0.2.1] LDForge - 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: [0.2.1] LDForge (/thread-8711.html)

Pages: 1 2 3 4 5 6 7 8 9 10


Re: LDForge - Magnus Forsberg - 2013-05-23

Starts fine here too.
I'm gonna have some fun this weekend...;-)
Thanks


Re: LDForge - Philippe Hurbain - 2013-05-24

OK, wishes, problems I found or things that puzzle me... Many of them maybe already in your todo list, and for sure YOU define your priorities Wink All this in very random order...
- The configure button at 1st startup in the screen that asks for LDraw library does nothing for me.
- I'd like a shortcut and/or toolbar icon to enable/disable BFC view
- Open file seems to always start in LDForge folder. Should start in latest accessed folder imho...
- It seems that I can't open a file whose name or path contains accentuated characters (sorry, I'm French Wink
- Cut and paste between two instances of LDForge? Cut / Copy to place LDraw lines as text to paste into external text mode application?
- Better shading?
- A way to control the split of quad into triangles? what about the inverse joining operation?
- I can create vertices - What can I do with them?
- Edit object applied to vertices start from 0,0,0 instead of vertices coordinates
- What's the rationale behind "radial" concept?
- At one time, LDforge stopped to display anything, I had to restart it to be able to use it again. More if I can reproduce this...
- Ctrl+drag or Alt+drag to pan? Middle button drag is not very comfortable (hurts my finger!)
- I was able to use external apps on my Win7 computer, but it doesn't seem to work on my XP box (nothing happens).
- When I select something in main view, I'd like that the text view jumps to first (or last) line of selection.
- In flat views, I'd like a reminder of axis directions (eg. labels -x, +x, -z, +z in view corners)
- Snapping on existing geometry?

...stopping here at the moment...


Re: LDForge - Santeri Piippo - 2013-05-24

Philippe Hurbain Wrote:- I'd like a shortcut and/or toolbar icon to enable/disable BFC view
- Open file seems to always start in LDForge folder. Should start in latest accessed folder imho...
- Ctrl+drag or Alt+drag to pan? Middle button drag is not very comfortable (hurts my finger!)
- In flat views, I'd like a reminder of axis directions (eg. labels -x, +x, -z, +z in view corners)
- When I select something in main view, I'd like that the text view jumps to first (or last) line of selection.
Yeah these could be done.

Philippe Hurbain Wrote:- The configure button at 1st startup in the screen that asks for LDraw library does nothing for me.
It's supposed to trigger that "check for LDraw path" thing, it triggers auto if you search for the directory but it doesn't happen if you type it in... that thing is planned to be just removed.

Philippe Hurbain Wrote:- It seems that I can't open a file whose name or path contains accentuated characters (sorry, I'm French Wink
hm. Never took accents into account.. I'll bet it's an issue with encodings.

Philippe Hurbain Wrote:- Cut and paste between two instances of LDForge? Cut / Copy to place LDraw lines as text to paste into external text mode application?
Hrm. Could consider this otherwise but why do you need two instances open? Multiple file support is on the list if it's about that. Exporting selection into text files is certainly doable though.

Philippe Hurbain Wrote:- Better shading?
The lighting sucks, I know. Tongue
The GL renderer's drawing method in general is kinda clunky and just uses display lists, but getting that to already work was quite the effort.. maybe there'll be better lighting/shading if and when I get to know more about more advanced GL techniques.. for now this'll have to do.

Philippe Hurbain Wrote:- A way to control the split of quad into triangles? what about the inverse joining operation?
Sure, whenever I figure how to interface it. For the inverse operation I guess Rectifier already does the job, though if that's not ideal I could try figure some algorithm..

Philippe Hurbain Wrote:- I can create vertices - What can I do with them?
I was planning on making them be drawn on the screen and allow them be snapped to while drawing.. at this point I'm not sure what I'll do with them.

Philippe Hurbain Wrote:- Edit object applied to vertices start from 0,0,0 instead of vertices coordinates

Philippe Hurbain Wrote:- What's the rationale behind "radial" concept?
The point of them was that you could have any sized ring or cone at hand, kind of a model the part now and worry about primitive relations later. Honestly, I've began to doubt their usefulness recently as well.

Philippe Hurbain Wrote:- At one time, LDforge stopped to display anything, I had to restart it to be able to use it again. More if I can reproduce this...
Not much I can do about that unless I get a way to reproduce it.

Philippe Hurbain Wrote:- I was able to use external apps on my Win7 computer, but it doesn't seem to work on my XP box (nothing happens).
Hm.. could it be possible that the paths under XP have accents and Win7 ones don't? I'd see that as the most likely culprit, if not, I'll have to somehow get my hands on an XP system..

Philippe Hurbain Wrote:- Snapping on existing geometry?
Yeah I'd want to do this too but there's more important things to take care of for now. Also I'm wondering what's the most efficient route to take to keep it from being too slow or consuming too much memory..

...stopping here at the moment...[/quote]


Re: LDForge - Philippe Hurbain - 2013-05-24

Quote:Hrm. Could consider this otherwise but why do you need two instances open? Multiple file support is on the list if it's about that.
Yes, that was the idea. So if you support multiple files, it's fine too. Support of text export is another (useful) thing.
Quote:Hm.. could it be possible that the paths under XP have accents and Win7 ones don't? I'd see that as the most likely culprit, if not, I'll have to somehow get my hands on an XP system..
No, path is pretty simple on both machines: L:\LDraw\Apps\LETGUI\coverer (it's C: on my Win7 one)
Quote:Not much I can do about that unless I get a way to reproduce it.
Sure Wink


Re: LDForge - Roland Melkert - 2013-05-24

Santeri Piippo Wrote:
Philippe Hurbain Wrote:- It seems that I can't open a file whose name or path contains accentuated characters (sorry, I'm French Wink

hm. Never took accents into account.. I'll bet it's an issue with encodings.

I had the same problem with LDCad, the problem is Linux uses UTF8 across the board, but many windows api's (like lowlevel file io) still use the local code page. So you probably have to convert strings before passing them to low level file io functions using 'wcstombs'. This is only needed for window versions. I use an asOSMBStr method in my string class that returns utf8 on linux and whatever the wcstombs returns on windows. You then use the method whenever you need to pass a filename to an api. It's one of the very few functions that needs a different implementation depending on platform.

If you use some kind of string/io library wrapper (NOT plain STD) this should be done automatically though, or maybe it's disabled by default.


Re: LDForge - Santeri Piippo - 2013-05-24

I think the problem in question is that I'm passing the strings to the I/O functions directly, from the looks of it they should be converted to QByteArray first to resolve encoding problems. I can make the problem happen even on my Linux system.

EDIT: Hmm, maybe it's better to just drop C-style fopen() and friends completely and just use QFile...


Re: LDForge - Santeri Piippo - 2013-06-14

Thought to drop an update, I've rewritten undo/redo handling at this point so in the next version it should be usable. There's also some usability updates plus ability to snap to existing vertices.

Right now I'm in the process of converting the codebase from 8-bit strings and Unix-style file management to Qt-style 16-bit strings and file management which should make things locale-aware. My (hazy) foresight tells me there will probably be a release before the end of June.


Re: LDForge - Santeri Piippo - 2013-06-15

Another saturday project later... (mind my system style)

[Image: prims.png]

Yeah it's more savvy about primitives now.


Re: [0.1 Alpha] LDForge - Santeri Piippo - 2013-07-05

Just a heads up, while a 0.2 release didn't happen yet, I've been doing a good lot of under-the-hood work.. hopefully I can tag another alpha build soon. Also I just moved the repo to Github, in case anyone's interested: https://github.com/slatenails/ldforge


Re: [0.2 Alpha] LDForge - Santeri Piippo - 2013-07-09

Version 0.2 of LDForge is now released. Main flagship features are vertex snapping and rewritten (and actually usable) undo/redo management. Also, the radial type has been replaced with a simple primitive generator, along with a good load of features and bug fixes.

See full release document here, including full changelog and downloads.