discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

GSoC OpenSCAD project

R
Ronaldo
Mon, Oct 17, 2016 1:35 PM

I have explored the Customizer mainly to build demos of libraries. And it
does a good job but may be improved. I agree that there is a waste of space
in the customizer window. Any more compact design is welcome. The order of
the parameter is not reasonable: instead of alphabetical it should be the
order of appearance in the program file. The description of a parameter
should be the default: only when it is not available the parameter
identifier would be used. Usually the identifier is not as descriptive and
requires a lot of space. The "Show details" option should be changed
accordingly.

The best window arrangement I found for demos is to overlap the customizer,
editor and console windows:

http://forum.openscad.org/file/n18753/SweepDemo1.png

This is the image of a demo of  my fork of sweep.scad
https://github.com/RonaldoCMP/list-comprehension-demos  with this window
arrangement.

I observed an issue when editing fields like the ref_end parameter in the
image, a vector. If you click any of the vector fields to edit it, just
after a character is inserted or deleted, a new preview is done and the
cursor miraculously move to the beginning of the first field. That is
annoying and seems to be a bug. It would be better to require an ENTER to
end the editing mode and produce a preview.

I have explored the customizer only in a Windows 7 environment.

--
View this message in context: http://forum.openscad.org/GSoC-OpenSCAD-project-tp18102p18753.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

I have explored the Customizer mainly to build demos of libraries. And it does a good job but may be improved. I agree that there is a waste of space in the customizer window. Any more compact design is welcome. The order of the parameter is not reasonable: instead of alphabetical it should be the order of appearance in the program file. The description of a parameter should be the default: only when it is not available the parameter identifier would be used. Usually the identifier is not as descriptive and requires a lot of space. The "Show details" option should be changed accordingly. The best window arrangement I found for demos is to overlap the customizer, editor and console windows: <http://forum.openscad.org/file/n18753/SweepDemo1.png> This is the image of a demo of my fork of sweep.scad <https://github.com/RonaldoCMP/list-comprehension-demos> with this window arrangement. I observed an issue when editing fields like the ref_end parameter in the image, a vector. If you click any of the vector fields to edit it, just after a character is inserted or deleted, a new preview is done and the cursor miraculously move to the beginning of the first field. That is annoying and seems to be a bug. It would be better to require an ENTER to end the editing mode and produce a preview. I have explored the customizer only in a Windows 7 environment. -- View this message in context: http://forum.openscad.org/GSoC-OpenSCAD-project-tp18102p18753.html Sent from the OpenSCAD mailing list archive at Nabble.com.
RP
Ronaldo Persiano
Mon, Oct 17, 2016 2:10 PM

In editing a field of a vector, the two arrow icons are useless. When in a
field, the up and down keyboard keys are better options for that. Page up
and down allowing greater jumps (hundreds), left and right for middle jumps
(tenths).

In editing a field of a vector, the two arrow icons are useless. When in a field, the up and down keyboard keys are better options for that. Page up and down allowing greater jumps (hundreds), left and right for middle jumps (tenths).
M
MichaelAtOz
Tue, Oct 18, 2016 12:57 AM

Comparing Thingiverse thing  Sheriffs Badge
http://www.thingiverse.com/thing:415487  in Thingiverse Customizer (TVC)
v's OpenSCAD Customizer (OSC).

[OpenSCAD version 2016.10.05 (git 4b59170) ]

I'm not sure to what degree they are meant to be compatible so I noted
anything I found below.

a. TVC Underscores in Variable_name are changed to spaces, looks nicer.

http://forum.openscad.org/file/n18761/Customizer_feedback_layout_TVC_A.jpg

a2. The side by side layout allows creative use of name/description, as
above or this use

http://forum.openscad.org/file/n18761/Customizer_feedback_layout_TVC.jpg

v's

http://forum.openscad.org/file/n18761/Customizer_feedback_layout_OSC.jpg

b. TVC Order of tabs is order in code, allows logical layout.

c. Order of variables in tab is the same, alphabetical. Note I had to name
variables starting with numbers to order them. I think it should be the same
order as code, and suggest Thingiverse change that way.

d. <oops>

e. TVC stops processing variables at the first non assignment operation, see
'module dummy()' in above Thing, OSC is getting a range of working variables
in the tabs which should not be there, also getting variables from module
parameters. Can't tell where it got 'pi' from - correction - it got it and
other variables from the include <write.scad> ...

(had to stop comparison, TVC is stuffed ATM)

Separate issues:

There is conflict with the scroll wheel between scrolling the customizer
pane, and changing slider values (and up/down, drop-down controls). If when
scrolling the pane, the mouse happens to rest over a slider the scroll wheel
then changes the slider instead of scrolling more. Not sure of best approach
to this, as scrolling the controls could be useful, but when testing I had
many unintentional changes to control values until I worked out what was
going on.


Admin - PM me if you need anything, or if I've done something stupid...

Unless specifically shown otherwise above, my contribution is in the Public Domain; to the extent possible under law, I have waived all copyright and related or neighbouring rights to this work. Obviously inclusion of works of previous authors is not included in the above.

The TPP is no simple “trade agreement.”  Fight it! http://www.ourfairdeal.org/  time is running out!

View this message in context: http://forum.openscad.org/GSoC-OpenSCAD-project-tp18102p18761.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

Comparing Thingiverse thing Sheriffs Badge <http://www.thingiverse.com/thing:415487> in Thingiverse Customizer (TVC) v's OpenSCAD Customizer (OSC). [OpenSCAD version 2016.10.05 (git 4b59170) ] I'm not sure to what degree they are meant to be compatible so I noted anything I found below. a. TVC Underscores in Variable_name are changed to spaces, looks nicer. <http://forum.openscad.org/file/n18761/Customizer_feedback_layout_TVC_A.jpg> a2. The side by side layout allows creative use of name/description, as above or this use <http://forum.openscad.org/file/n18761/Customizer_feedback_layout_TVC.jpg> v's <http://forum.openscad.org/file/n18761/Customizer_feedback_layout_OSC.jpg> b. TVC Order of tabs is order in code, allows logical layout. c. Order of variables in tab is the same, alphabetical. Note I had to name variables starting with numbers to order them. I think it should be the same order as code, and suggest Thingiverse change that way. d. <oops> e. TVC stops processing variables at the first non assignment operation, see 'module dummy()' in above Thing, OSC is getting a range of working variables in the tabs which should not be there, also getting variables from module parameters. Can't tell where it got 'pi' from - correction - it got it and other variables from the include <write.scad> ... (had to stop comparison, TVC is stuffed ATM) Separate issues: There is conflict with the scroll wheel between scrolling the customizer pane, and changing slider values (and up/down, drop-down controls). If when scrolling the pane, the mouse happens to rest over a slider the scroll wheel then changes the slider instead of scrolling more. Not sure of best approach to this, as scrolling the controls could be useful, but when testing I had many unintentional changes to control values until I worked out what was going on. ----- Admin - PM me if you need anything, or if I've done something stupid... Unless specifically shown otherwise above, my contribution is in the Public Domain; to the extent possible under law, I have waived all copyright and related or neighbouring rights to this work. Obviously inclusion of works of previous authors is not included in the above. The TPP is no simple “trade agreement.” Fight it! http://www.ourfairdeal.org/ time is running out! -- View this message in context: http://forum.openscad.org/GSoC-OpenSCAD-project-tp18102p18761.html Sent from the OpenSCAD mailing list archive at Nabble.com.
TP
Torsten Paul
Tue, Oct 18, 2016 10:45 AM

Von: MichaelAtOz oz.at.michael@gmail.com

I'm not sure to what degree they are meant to be
compatible so I noted anything I found below.

Thanks for having a look at that. We did not really
declare an official compatibility list, but the basic
idea is to follow the syntax and behavior as close
as possible and reasonable.
For the GUI part things are a bit more relaxed as
we have different options and at least can try to
make it easier for the user.

a. TVC Underscores in Variable_name are changed
to spaces, looks nicer.

Good point. If we go for "hide variable name if
description is there" it might not be too important,
but I guess there's quite a number of model that
don't have a description.

a2. The side by side layout allows creative use
of name/description, as above or this use

I think we have to accept those kind of glitches,
maybe filtering descriptions that look strange by
some rule.
Trying to exactly follow the display is a lost
cause in my opinion.

b. TVC Order of tabs is order in code, allows
logical layout.

Yeah, I guess code order gets most votes by far,
so we probably want that or have a toggle for
both code and alphabetical order.

d. <oops>

???
Missing screenshot maybe?

e. TVC stops processing variables at the first
non assignment operation

Oh, hmm, we certainly should find a fix for that.
Maybe we want to even move that to the list of
things to fix before merging to the main dev
branch.

ciao,
Torsten.

Von: MichaelAtOz <oz.at.michael@gmail.com> > I'm not sure to what degree they are meant to be > compatible so I noted anything I found below. > Thanks for having a look at that. We did not really declare an official compatibility list, but the basic idea is to follow the syntax and behavior as close as possible and reasonable. For the GUI part things are a bit more relaxed as we have different options and at least can try to make it easier for the user. > a. TVC Underscores in Variable_name are changed > to spaces, looks nicer. > Good point. If we go for "hide variable name if description is there" it might not be too important, but I guess there's quite a number of model that don't have a description. > a2. The side by side layout allows creative use > of name/description, as above or this use > I think we have to accept those kind of glitches, maybe filtering descriptions that look strange by some rule. Trying to exactly follow the display is a lost cause in my opinion. > b. TVC Order of tabs is order in code, allows > logical layout. > Yeah, I guess code order gets most votes by far, so we probably want that or have a toggle for both code and alphabetical order. > d. <oops> > ??? Missing screenshot maybe? > e. TVC stops processing variables at the first > non assignment operation > Oh, hmm, we certainly should find a fix for that. Maybe we want to even move that to the list of things to fix before merging to the main dev branch. ciao, Torsten.
M
MichaelAtOz
Sun, Oct 23, 2016 1:56 AM

tp3 wrote

d.

<oops>

???
Missing screenshot maybe?

No. <oops>, d. was not an issue after all. It was [Global], until I checked
with TVC I felt it should list the globals above tabs showing all the time.


Admin - PM me if you need anything, or if I've done something stupid...

Unless specifically shown otherwise above, my contribution is in the Public Domain; to the extent possible under law, I have waived all copyright and related or neighbouring rights to this work. Obviously inclusion of works of previous authors is not included in the above.

The TPP is no simple “trade agreement.”  Fight it! http://www.ourfairdeal.org/  time is running out!

View this message in context: http://forum.openscad.org/GSoC-OpenSCAD-project-tp18102p18791.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

tp3 wrote >> d. > <oops> >> > ??? > Missing screenshot maybe? No. <oops>, d. was not an issue after all. It was [Global], until I checked with TVC I felt it should list the globals above tabs showing all the time. ----- Admin - PM me if you need anything, or if I've done something stupid... Unless specifically shown otherwise above, my contribution is in the Public Domain; to the extent possible under law, I have waived all copyright and related or neighbouring rights to this work. Obviously inclusion of works of previous authors is not included in the above. The TPP is no simple “trade agreement.” Fight it! http://www.ourfairdeal.org/ time is running out! -- View this message in context: http://forum.openscad.org/GSoC-OpenSCAD-project-tp18102p18791.html Sent from the OpenSCAD mailing list archive at Nabble.com.
M
MichaelAtOz
Thu, Nov 10, 2016 11:09 PM

Was there any resolution to getting decimal places in a customizer variable?


Admin - PM me if you need anything, or if I've done something stupid...

Unless specifically shown otherwise above, my contribution is in the Public Domain; to the extent possible under law, I have waived all copyright and related or neighbouring rights to this work. Obviously inclusion of works of previous authors is not included in the above.

The TPP is no simple “trade agreement.”  Fight it! http://www.ourfairdeal.org/  time is running out!

View this message in context: http://forum.openscad.org/GSoC-OpenSCAD-project-tp18102p19026.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

Was there any resolution to getting decimal places in a customizer variable? ----- Admin - PM me if you need anything, or if I've done something stupid... Unless specifically shown otherwise above, my contribution is in the Public Domain; to the extent possible under law, I have waived all copyright and related or neighbouring rights to this work. Obviously inclusion of works of previous authors is not included in the above. The TPP is no simple “trade agreement.” Fight it! http://www.ourfairdeal.org/ time is running out! -- View this message in context: http://forum.openscad.org/GSoC-OpenSCAD-project-tp18102p19026.html Sent from the OpenSCAD mailing list archive at Nabble.com.
MK
Marius Kintel
Fri, Nov 11, 2016 1:07 AM

On Nov 10, 2016, at 18:09, MichaelAtOz oz.at.michael@gmail.com wrote:

Was there any resolution to getting decimal places in a customizer variable?

Added to https://github.com/openscad/openscad/issues/1781

If any of the listed items are significantly more critical than others, feel free to create a new issue so we can prioritize it differently.

-Marius

> On Nov 10, 2016, at 18:09, MichaelAtOz <oz.at.michael@gmail.com> wrote: > > Was there any resolution to getting decimal places in a customizer variable? > Added to https://github.com/openscad/openscad/issues/1781 If any of the listed items are significantly more critical than others, feel free to create a new issue so we can prioritize it differently. -Marius
M
MichaelAtOz
Fri, Nov 11, 2016 5:15 AM

Is there a Windows exe with the latest (post 2016.10.05) customizer changes?
I don't want to comment on what may be fixed already...


Admin - PM me if you need anything, or if I've done something stupid...

Unless specifically shown otherwise above, my contribution is in the Public Domain; to the extent possible under law, I have waived all copyright and related or neighbouring rights to this work. Obviously inclusion of works of previous authors is not included in the above.

The TPP is no simple “trade agreement.”  Fight it! http://www.ourfairdeal.org/  time is running out!

View this message in context: http://forum.openscad.org/GSoC-OpenSCAD-project-tp18102p19037.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

Is there a Windows exe with the latest (post 2016.10.05) customizer changes? I don't want to comment on what may be fixed already... ----- Admin - PM me if you need anything, or if I've done something stupid... Unless specifically shown otherwise above, my contribution is in the Public Domain; to the extent possible under law, I have waived all copyright and related or neighbouring rights to this work. Obviously inclusion of works of previous authors is not included in the above. The TPP is no simple “trade agreement.” Fight it! http://www.ourfairdeal.org/ time is running out! -- View this message in context: http://forum.openscad.org/GSoC-OpenSCAD-project-tp18102p19037.html Sent from the OpenSCAD mailing list archive at Nabble.com.
M
MichaelAtOz
Fri, Nov 11, 2016 5:43 AM

<Thinking Cap>:
Find a way to integrate assert() with customizer GUI.
</Thinking Cap>


Admin - PM me if you need anything, or if I've done something stupid...

Unless specifically shown otherwise above, my contribution is in the Public Domain; to the extent possible under law, I have waived all copyright and related or neighbouring rights to this work. Obviously inclusion of works of previous authors is not included in the above.

The TPP is no simple “trade agreement.”  Fight it! http://www.ourfairdeal.org/  time is running out!

View this message in context: http://forum.openscad.org/GSoC-OpenSCAD-project-tp18102p19038.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

*<Thinking Cap>*: Find a way to integrate assert() with customizer GUI. *</Thinking Cap>* ----- Admin - PM me if you need anything, or if I've done something stupid... Unless specifically shown otherwise above, my contribution is in the Public Domain; to the extent possible under law, I have waived all copyright and related or neighbouring rights to this work. Obviously inclusion of works of previous authors is not included in the above. The TPP is no simple “trade agreement.” Fight it! http://www.ourfairdeal.org/ time is running out! -- View this message in context: http://forum.openscad.org/GSoC-OpenSCAD-project-tp18102p19038.html Sent from the OpenSCAD mailing list archive at Nabble.com.
MK
Marius Kintel
Fri, Nov 11, 2016 2:44 PM

On Nov 11, 2016, at 00:15, MichaelAtOz oz.at.michael@gmail.com wrote:

Is there a Windows exe with the latest (post 2016.10.05) customizer changes?
I don't want to comment on what may be fixed already…

Not yet, but it will be on the way as soon as we get a chance to manually kick off a Windows build..

-Marius

On Nov 11, 2016, at 00:15, MichaelAtOz <oz.at.michael@gmail.com> wrote: > > Is there a Windows exe with the latest (post 2016.10.05) customizer changes? > I don't want to comment on what may be fixed already… > Not yet, but it will be on the way as soon as we get a chance to manually kick off a Windows build.. -Marius