Previewing movement

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

Previewing movement

Jesse Guardiani
Hey List,

Listen, I'm a software developer, so I totally get the value in having a programming language like modelling tool. All the same, I find myself wasting ENORMOUS amounts of time moving things around on the screen until I have them just where I want them. It goes something like this:

1.) Guess position
2.) Render
3.) Adjust (too much or too little)
4.) Repeat 2-3 until perfect

This is exactly the sort of thing where dragging an object in the GUI would be appropriate. I'm not saying I want an entire GUI interface. I don't. I'm just saying it would save a ton of time to be able to drag the object I'm currently modifying in real time and see real time updates.

Is this within the realm of possibility? Any seconds?

--
Jesse
CreateThis.com

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://rocklinux.net/mailman/listinfo/openscad
http://openscad.org - https://flattr.com/thing/121566
Reply | Threaded
Open this post in threaded view
|

Re: Previewing movement

kintel
Administrator
On 2013-05-22, at 20:48 , Jesse Guardiani wrote:

> This is exactly the sort of thing where dragging an object in the GUI would be appropriate. I'm not saying I want an entire GUI interface. I don't. I'm just saying it would save a ton of time to be able to drag the object I'm currently modifying in real time and see real time updates.
>
It's on the radar, but it's too vague to break down into concrete ideas - mostly because it's primarily about GUI programming, which is slightly annoying. I'd be happy to take part in a discussion on possible feature sets, and how/where to fit this in.

 -Marius

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://rocklinux.net/mailman/listinfo/openscad
http://openscad.org - https://flattr.com/thing/121566
Reply | Threaded
Open this post in threaded view
|

Re: Previewing movement

Jesse Guardiani
I understand completely. What is OpenSCAD written in?


On Wed, May 22, 2013 at 8:58 PM, Marius Kintel <[hidden email]> wrote:
On 2013-05-22, at 20:48 , Jesse Guardiani wrote:

> This is exactly the sort of thing where dragging an object in the GUI would be appropriate. I'm not saying I want an entire GUI interface. I don't. I'm just saying it would save a ton of time to be able to drag the object I'm currently modifying in real time and see real time updates.
>
It's on the radar, but it's too vague to break down into concrete ideas - mostly because it's primarily about GUI programming, which is slightly annoying. I'd be happy to take part in a discussion on possible feature sets, and how/where to fit this in.

 -Marius

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://rocklinux.net/mailman/listinfo/openscad
http://openscad.org - https://flattr.com/thing/121566


_______________________________________________
OpenSCAD mailing list
[hidden email]
http://rocklinux.net/mailman/listinfo/openscad
http://openscad.org - https://flattr.com/thing/121566
Reply | Threaded
Open this post in threaded view
|

Re: Previewing movement

kintel
Administrator
On 2013-05-22, at 21:26 , Jesse Guardiani wrote:

> I understand completely. What is OpenSCAD written in?
>
C++ and Qt.

 -Marius

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://rocklinux.net/mailman/listinfo/openscad
http://openscad.org - https://flattr.com/thing/121566
Reply | Threaded
Open this post in threaded view
|

Re: Previewing movement

Triffid Hunter
In reply to this post by kintel
On 23 May 2013 10:58, Marius Kintel <[hidden email]> wrote:
On 2013-05-22, at 20:48 , Jesse Guardiani wrote:

> This is exactly the sort of thing where dragging an object in the GUI would be appropriate. I'm not saying I want an entire GUI interface. I don't. I'm just saying it would save a ton of time to be able to drag the object I'm currently modifying in real time and see real time updates.
>
It's on the radar, but it's too vague to break down into concrete ideas - mostly because it's primarily about GUI programming, which is slightly annoying. I'd be happy to take part in a discussion on possible feature sets, and how/where to fit this in.

I think it would be best implemented by being able to select a particular translation or rotation in the code and having gui "handles" to drag around to adjust the numbers

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://rocklinux.net/mailman/listinfo/openscad
http://openscad.org - https://flattr.com/thing/121566
Reply | Threaded
Open this post in threaded view
|

Re: Previewing movement

Peter Falke
One step towards this would be a costumizer.
You could then use a slider to change a variable by mouse dragging.




On 23 May 2013 05:42, Triffid Hunter <[hidden email]> wrote:
On 23 May 2013 10:58, Marius Kintel <[hidden email]> wrote:
On 2013-05-22, at 20:48 , Jesse Guardiani wrote:

> This is exactly the sort of thing where dragging an object in the GUI would be appropriate. I'm not saying I want an entire GUI interface. I don't. I'm just saying it would save a ton of time to be able to drag the object I'm currently modifying in real time and see real time updates.
>
It's on the radar, but it's too vague to break down into concrete ideas - mostly because it's primarily about GUI programming, which is slightly annoying. I'd be happy to take part in a discussion on possible feature sets, and how/where to fit this in.

I think it would be best implemented by being able to select a particular translation or rotation in the code and having gui "handles" to drag around to adjust the numbers

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://rocklinux.net/mailman/listinfo/openscad
http://openscad.org - https://flattr.com/thing/121566



--
[hidden email]

P.S. Falls meine E-Mail kürzer ausfällt als Dir angenehm ist:
Ich probiere gerade aus kurze Antworten statt gar keine Antworten zu schreiben.
Wenn Du gerne mehr lesen möchtest, dann lass es mich bitte wissen.

P.S. In case my e-mail is shorter than you enjoy:
I am currently trying short replies instead of no replies at all.
Please let me know, if you like to read more.

Enjoy!

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://rocklinux.net/mailman/listinfo/openscad
http://openscad.org - https://flattr.com/thing/121566
Reply | Threaded
Open this post in threaded view
|

Re: Previewing movement

kintel
Administrator
In reply to this post by Triffid Hunter
On 2013-05-22, at 23:42 , Triffid Hunter wrote:
>
> I think it would be best implemented by being able to select a particular translation or rotation in the code and having gui "handles" to drag around to adjust the numbers

Yes, that was my immediate idea for a simple start. Since transforms can be formulas as well as literal numbers, it needs some thought though. Also, the edit-parse-compile cycle would probably benefit from being more integrated.

 -Marius


_______________________________________________
OpenSCAD mailing list
[hidden email]
http://rocklinux.net/mailman/listinfo/openscad
http://openscad.org - https://flattr.com/thing/121566
Reply | Threaded
Open this post in threaded view
|

Re: Previewing movement

Jesse Guardiani
Is there a way to redraw just the one object that we're moving? With a full compile, this procedure is an O(N) operation for the number of objects and operators in the scene. So it gets massively slower as the object gets more complex. I often find myself commenting out sections of the code so I can develop more quickly.

I thought I used a partial render function once, but I couldn't figure out how it worked. It seemed to work sometimes and not work other times. The first step would be figuring out how to use that so the scene can be quickly re-rendered after each movement of the slider/mouse/arrowkey/whatever.

Also, I wondering if the GUI should be abstracted or separated somehow (bidirectional communication protocol?) so we can have different GUIs written in different languages for different devices.



On Thu, May 23, 2013 at 12:28 AM, Marius Kintel <[hidden email]> wrote:
On 2013-05-22, at 23:42 , Triffid Hunter wrote:
>
> I think it would be best implemented by being able to select a particular translation or rotation in the code and having gui "handles" to drag around to adjust the numbers

Yes, that was my immediate idea for a simple start. Since transforms can be formulas as well as literal numbers, it needs some thought though. Also, the edit-parse-compile cycle would probably benefit from being more integrated.

 -Marius


_______________________________________________
OpenSCAD mailing list
[hidden email]
http://rocklinux.net/mailman/listinfo/openscad
http://openscad.org - https://flattr.com/thing/121566


_______________________________________________
OpenSCAD mailing list
[hidden email]
http://rocklinux.net/mailman/listinfo/openscad
http://openscad.org - https://flattr.com/thing/121566