GSoC OpenSCAD project

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

GSoC OpenSCAD project

Amarjeet Kapoor
Hi,

I have been working on providing User Interface for Customizing Models
in openSCAD.

We have wrapped up work of implementing the major features of the
project a week ago and Now we have been working on testing the User
Interface by using the system as Normal User. So, that User Experience
could be improved and committing changes related to that.


Below are the two links that summarise the work that I have done till now:

https://amarjeetkapoor1.wordpress.com/2016/07/04/user-interface-for-customizing-models/

https://amarjeetkapoor1.wordpress.com/2016/07/18/user-interface-for-customizing-models-part-2/

Below are the link to binaries with my work and also GitHub link:

Window:

32 bit:
http://files.openscad.org/snapshots/OpenSCAD-2016.08.06-x86-32_gsoc2016-Installer.exe
64 bit:
http://files.openscad.org/snapshots/OpenSCAD-2016.08.06-x86-64_gsoc2016-Installer.exe
Zip files
http://files.openscad.org/snapshots/OpenSCAD-2016.08.06-x86-32_gsoc2016.zip
http://files.openscad.org/snapshots/OpenSCAD-2016.08.06-x86-64_gsoc2016.zip

Source Code:

https://github.com/openscad/openscad/tree/gsoc2016-refactored


--
Amarjeet Singh
https://amarjeetkapoor1.wordpress.com
https://github.com/amarjeetkapoor1
https://bitbucket.org/amarjeetkapoor

"The journey of a thousand commit begins with a single init"

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Reply | Threaded
Open this post in threaded view
|

Re: GSoC OpenSCAD project

Neon22
Tried 64 bit version. Looks good but having usability problems when
writing code and using interaction Toolbar:

1. writing code and variable =10. and change in toolbar - not updated in
code - which get preference ?
  - how do I force code or UI to equal the other state (so I can reset) ?

2.sometimes changing code has no effect on variables. I would expect
changing code value to override the Toolbar.

3. Order of variable in Toolbar does not match that in code - if editing
code and change order.
  - I think it should match order in code.

4. alas completion no longer working (side issue obviously)

Very much looking forward to using this. Thanks


On 8/12/2016 9:03 PM, Amarjeet Kapoor wrote:

> Hi,
>
> I have been working on providing User Interface for Customizing Models
> in openSCAD.
>
> We have wrapped up work of implementing the major features of the
> project a week ago and Now we have been working on testing the User
> Interface by using the system as Normal User. So, that User Experience
> could be improved and committing changes related to that.
>
>
> Below are the two links that summarise the work that I have done till now:
>
> https://amarjeetkapoor1.wordpress.com/2016/07/04/user-interface-for-customizing-models/
>
> https://amarjeetkapoor1.wordpress.com/2016/07/18/user-interface-for-customizing-models-part-2/
>
> Below are the link to binaries with my work and also GitHub link:
>
> Window:
>
> 32 bit:
> http://files.openscad.org/snapshots/OpenSCAD-2016.08.06-x86-32_gsoc2016-Installer.exe
> 64 bit:
> http://files.openscad.org/snapshots/OpenSCAD-2016.08.06-x86-64_gsoc2016-Installer.exe
> Zip files
> http://files.openscad.org/snapshots/OpenSCAD-2016.08.06-x86-32_gsoc2016.zip
> http://files.openscad.org/snapshots/OpenSCAD-2016.08.06-x86-64_gsoc2016.zip
>
> Source Code:
>
> https://github.com/openscad/openscad/tree/gsoc2016-refactored
>
>


_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Reply | Threaded
Open this post in threaded view
|

Re: GSoC OpenSCAD project

Amarjeet Kapoor

On Aug 14, 2016 5:25 AM, "Mark Schafer" <[hidden email]> wrote:
>
> Tried 64 bit version. Looks good but having usability problems when writing code and using interaction Toolbar:
>

Thanks for reviewing and At present, we our working on improving its usability only. So, If you found any new issue please report that also:

> 1. writing code and variable =10. and change in toolbar - not updated in code - which get preference ?

>  - how do I force code or UI to equal the other state (so I can reset) ?
>

You are telling that a reset button that could make all variables in toolbar equal to that in code again?
If yes, then I think it would be useful feature.

> 2.sometimes changing code has no effect on variables. I would expect changing code value to override the Toolbar.
>

Would you post the code or screenshot where you notice this? as it should and is overriding for all conditions for which we checked.

> 3. Order of variable in Toolbar does not match that in code - if editing code and change order.
>  - I think it should match order in code.
>

At present, order of variables in Toolbar is alphabetical. Maybe It should match order in code.

> 4. alas completion no longer working (side issue obviously)
>

Unable to get this one completion of which thing?

> Very much looking forward to using this. Thanks
>

--
Amarjeet Singh
https://amarjeetkapoor1.wordpress.com
https://github.com/amarjeetkapoor1
https://bitbucket.org/amarjeetkapoor

“The journey of a thousand commits begins with a single init”


_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Reply | Threaded
Open this post in threaded view
|

Re: GSoC OpenSCAD project

Amarjeet Kapoor
In reply to this post by Amarjeet Kapoor

Hi,

Following is the link what I am planning to submit for my final submission after discussion with my mentor.
Any suggestion related to improvement that can be made is welcomed?

https://github.com/openscad/openscad/pull/1751

--
Amarjeet Singh
https://amarjeetkapoor1.wordpress.com
https://github.com/amarjeetkapoor1
https://bitbucket.org/amarjeetkapoor

"The journey of a thousand commit begins with a single init"


_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Reply | Threaded
Open this post in threaded view
|

Re: GSoC OpenSCAD project

Ronaldo
The system crashed twice when I closed it without saving my editions.

2016-08-18 11:03 GMT-03:00 Amarjeet Kapoor <[hidden email]>:

Hi,

Following is the link what I am planning to submit for my final submission after discussion with my mentor.
Any suggestion related to improvement that can be made is welcomed?

https://github.com/openscad/openscad/pull/1751

--
Amarjeet Singh
https://amarjeetkapoor1.wordpress.com
https://github.com/amarjeetkapoor1
https://bitbucket.org/amarjeetkapoor

"The journey of a thousand commit begins with a single init"


_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org



_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Reply | Threaded
Open this post in threaded view
|

Re: GSoC OpenSCAD project

Neon22
In reply to this post by Amarjeet Kapoor

can we have another binary please


On 8/19/2016 2:03 AM, Amarjeet Kapoor wrote:

Hi,

Following is the link what I am planning to submit for my final submission after discussion with my mentor.
Any suggestion related to improvement that can be made is welcomed?

https://github.com/openscad/openscad/pull/1751

--
Amarjeet Singh
https://amarjeetkapoor1.wordpress.com
https://github.com/amarjeetkapoor1
https://bitbucket.org/amarjeetkapoor

"The journey of a thousand commit begins with a single init"



_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org


No virus found in this message.
Checked by AVG - www.avg.com
Version: 2016.0.7752 / Virus Database: 4647/12831 - Release Date: 08/18/16



_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Reply | Threaded
Open this post in threaded view
|

Re: GSoC OpenSCAD project

Amarjeet Kapoor
In reply to this post by Ronaldo

   

On 19 Aug 2016 2:06 a.m., "Ronaldo Persiano" <[hidden email]> wrote:
>
> The system crashed twice when I closed it without saving my editions.
>

Could you elaborate?More details would be helpful.

--
Amarjeet Singh
https://amarjeetkapoor1.wordpress.com
https://github.com/amarjeetkapoor1
https://bitbucket.org/amarjeetkapoor

"The journey of a thousand commit begins with a single init"


_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Reply | Threaded
Open this post in threaded view
|

Re: GSoC OpenSCAD project

Ronaldo
When I closed the system without saving editions, the system asked for a confirmation. When I choosed "discard", it seemed to close. A few moments after that, Windows showed a warning it was trying to close the application and issued a message that the application has crashed. I got this twice but I couldn't reproduce it now.

2016-08-18 17:59 GMT-03:00 Amarjeet Kapoor <[hidden email]>:

   

On 19 Aug 2016 2:06 a.m., "Ronaldo Persiano" <[hidden email]> wrote:
>
> The system crashed twice when I closed it without saving my editions.
>

Could you elaborate?More details would be helpful.

--
Amarjeet Singh
https://amarjeetkapoor1.wordpress.com
https://github.com/amarjeetkapoor1
https://bitbucket.org/amarjeetkapoor

"The journey of a thousand commit begins with a single init"


_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org



_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Reply | Threaded
Open this post in threaded view
|

Re: GSoC OpenSCAD project

Ronaldo
Regarding usability:
a. I would prefer the parameters appear in the same order they have in the file; usually that is the logical order devised by the coder;
b. it would be nice to have the option to save the parameter settings in the file as default values.
I have not understood the function of Preset.

2016-08-18 18:28 GMT-03:00 Ronaldo Persiano <[hidden email]>:
When I closed the system without saving editions, the system asked for a confirmation. When I choosed "discard", it seemed to close. A few moments after that, Windows showed a warning it was trying to close the application and issued a message that the application has crashed. I got this twice but I couldn't reproduce it now.

2016-08-18 17:59 GMT-03:00 Amarjeet Kapoor <[hidden email]>:

   

On 19 Aug 2016 2:06 a.m., "Ronaldo Persiano" <[hidden email]> wrote:
>
> The system crashed twice when I closed it without saving my editions.
>

Could you elaborate?More details would be helpful.

--
Amarjeet Singh
https://amarjeetkapoor1.wordpress.com
https://github.com/amarjeetkapoor1
https://bitbucket.org/amarjeetkapoor

"The journey of a thousand commit begins with a single init"


_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org




_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Reply | Threaded
Open this post in threaded view
|

Re: GSoC OpenSCAD project

Amarjeet Kapoor
In reply to this post by Neon22
Reply | Threaded
Open this post in threaded view
|

Re: GSoC OpenSCAD project

Amarjeet Kapoor
In reply to this post by Ronaldo
On 19 August 2016 at 03:12, Ronaldo Persiano <[hidden email]> wrote:
> Regarding usability:
> a. I would prefer the parameters appear in the same order they have in the
> file; usually that is the logical order devised by the coder;

Okay, I will try to make it like this.

> b. it would be nice to have the option to save the parameter settings in the
> file as default values.
> I have not understood the function of Preset.

It is used to save the parameter settings in JSON file and you can
then use it to apply to model again.

You can see the example in new binaries.

Steps:
1. set Parameter in Customizer
2. click on + button and the set.
3. Then your Parameter setting is saved in JSON file.
and you can select that set of settings from the combo box adjacent to
+ button anytime.

http://files.openscad.org/snapshots/OpenSCAD-2016.08.18-x86-64_gsoc2016-Installer.exe

http://files.openscad.org/snapshots/OpenSCAD-2016.08.18-gsoc2016.dmg

http://files.openscad.org/snapshots/OpenSCAD-2016.08.18-x86-32_gsoc2016-Installer.exe

http://files.openscad.org/snapshots/OpenSCAD-2016.08.18-x86-32_gsoc2016.zip

http://files.openscad.org/snapshots/OpenSCAD-2016.08.18-x86-64_gsoc2016.zip






--
Amarjeet Singh
https://amarjeetkapoor1.wordpress.com
https://github.com/amarjeetkapoor1
https://bitbucket.org/amarjeetkapoor

"The journey of a thousand commit begins with a single init"

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Reply | Threaded
Open this post in threaded view
|

Re: GSoC OpenSCAD project

Amarjeet Kapoor
In reply to this post by Ronaldo
On 19 August 2016 at 02:58, Ronaldo Persiano <[hidden email]> wrote:
> When I closed the system without saving editions, the system asked for a
> confirmation. When I choosed "discard", it seemed to close. A few moments
> after that, Windows showed a warning it was trying to close the application
> and issued a message that the application has crashed. I got this twice but
> I couldn't reproduce it now.
>

Okay. If that error message visited your computer again please ping me
with error message and some other info like OS, editor that you are
using, settings OpenSCAD at that time etc that you feel might be
helpful.



--
Amarjeet Singh
https://amarjeetkapoor1.wordpress.com
https://github.com/amarjeetkapoor1
https://bitbucket.org/amarjeetkapoor

"The journey of a thousand commit begins with a single init"

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Reply | Threaded
Open this post in threaded view
|

Re: GSoC OpenSCAD project

Ronaldo
In reply to this post by Amarjeet Kapoor
It has crashed again in the same circunstances. It seems to be a Windows issue however. The system asked me permission to send some files about the issue to Microsoft. If it may be helpful I can send you a copy of the files by private message:
  C:\Users\ronaldo\AppData\Local\Temp\WER4E07.tmp.WERInternalMetadata.xml
  C:\Users\ronaldo\AppData\Local\Temp\WER6936.tmp.appcompat.txt
  C:\Users\ronaldo\AppData\Local\Temp\WER69E2.tmp.mdmp

2016-08-19 12:49 GMT-03:00 Amarjeet Kapoor <[hidden email]>:
On 19 August 2016 at 20:33, Ronaldo Persiano <[hidden email]> wrote:
> Another note:
> When I press the "-" button the current preset is deleted. However the
> preview is not updated to reflect that.

On "-" only set is deleted but it values are not. So,there is no
change that is needed to be reflected.

> It would be nice to ask for a confirmation of that deletion or it will be
> lost forever.
>
> On fact, the labels "+" and "-" are a bit misleading for me. I would prefer
> 3 buttons instead of 2:
> New - for a new Preset,
> Update - to update the current Preset with the current parameter values
> Delete - to delete the current Preset (after a confirmation)
>
>

Some updates related to buttons will be there.

--
Amarjeet Singh
https://amarjeetkapoor1.wordpress.com
https://github.com/amarjeetkapoor1
https://bitbucket.org/amarjeetkapoor

"The journey of a thousand commit begins with a single init"

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org


_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Reply | Threaded
Open this post in threaded view
|

Re: GSoC OpenSCAD project

Ronaldo
I have a suggestion: if a parameter has no detail text, the space reserved for it should be suppressed, even when Show Details is marked. The space in the Customizer column is gold.

2016-08-25 18:22 GMT-03:00 Ronaldo Persiano <[hidden email]>:
It has crashed again in the same circunstances. It seems to be a Windows issue however. The system asked me permission to send some files about the issue to Microsoft. If it may be helpful I can send you a copy of the files by private message:
  C:\Users\ronaldo\AppData\Local\Temp\WER4E07.tmp.WERInternalMetadata.xml
  C:\Users\ronaldo\AppData\Local\Temp\WER6936.tmp.appcompat.txt
  C:\Users\ronaldo\AppData\Local\Temp\WER69E2.tmp.mdmp

2016-08-19 12:49 GMT-03:00 Amarjeet Kapoor <[hidden email]>:
On 19 August 2016 at 20:33, Ronaldo Persiano <[hidden email]> wrote:
> Another note:
> When I press the "-" button the current preset is deleted. However the
> preview is not updated to reflect that.

On "-" only set is deleted but it values are not. So,there is no
change that is needed to be reflected.

> It would be nice to ask for a confirmation of that deletion or it will be
> lost forever.
>
> On fact, the labels "+" and "-" are a bit misleading for me. I would prefer
> 3 buttons instead of 2:
> New - for a new Preset,
> Update - to update the current Preset with the current parameter values
> Delete - to delete the current Preset (after a confirmation)
>
>

Some updates related to buttons will be there.

--
Amarjeet Singh
https://amarjeetkapoor1.wordpress.com
https://github.com/amarjeetkapoor1
https://bitbucket.org/amarjeetkapoor

"The journey of a thousand commit begins with a single init"

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org



_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Reply | Threaded
Open this post in threaded view
|

Re: GSoC OpenSCAD project

Amarjeet Kapoor
On 2 September 2016 at 07:46, Ronaldo Persiano <[hidden email]> wrote:
> I have a suggestion: if a parameter has no detail text, the space reserved
> for it should be suppressed, even when Show Details is marked. The space in
> the Customizer column is gold.

Thanks for pointing out. I thought this thing is being taken care of
in present code but its not he case.


--
Amarjeet Singh
https://amarjeetkapoor1.wordpress.com
https://github.com/amarjeetkapoor1
https://bitbucket.org/amarjeetkapoor

"The journey of a thousand commit begins with a single init"

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Reply | Threaded
Open this post in threaded view
|

Re: GSoC OpenSCAD project

Ronaldo
One more: in the presence of a detailed description, the name of the parameter might be omitted.

2016-09-02 15:33 GMT-03:00 Amarjeet Kapoor <[hidden email]>:
On 2 September 2016 at 07:46, Ronaldo Persiano <[hidden email]> wrote:
> I have a suggestion: if a parameter has no detail text, the space reserved
> for it should be suppressed, even when Show Details is marked. The space in
> the Customizer column is gold.

Thanks for pointing out. I thought this thing is being taken care of
in present code but its not he case.


--
Amarjeet Singh
https://amarjeetkapoor1.wordpress.com
https://github.com/amarjeetkapoor1
https://bitbucket.org/amarjeetkapoor

"The journey of a thousand commit begins with a single init"

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org


_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Reply | Threaded
Open this post in threaded view
|

Re: GSoC OpenSCAD project

Ronaldo
In reply to this post by Amarjeet Kapoor
I love your customizer! I found it is great tool to build a demo of a library.



This is the code of the Demo above, in case you be interested:
SweepDemo.scad
You will need this library to run it:
sweep2.scad
and the scad-utils libraries.

Thank you.
Reply | Threaded
Open this post in threaded view
|

Re: GSoC OpenSCAD project

Neon22
Yes I am enjoying using it also. I have made several things in it using the remote edit approach.
I eagerly await the build where the args appear in the order defined in the file.
Reply | Threaded
Open this post in threaded view
|

Re: GSoC OpenSCAD project

Ronaldo
In reply to this post by Amarjeet Kapoor
I am not sure I have the latest but I found a small bug in the snapshot version 2016.08.18. When the editor window is closed clicking the cross icon, the editor hiding is not marked accordingly in the View/Hide editor menu. So, when I want to reopen the editor window, I have to mark it and unmark it .
Reply | Threaded
Open this post in threaded view
|

Re: GSoC OpenSCAD project

Amarjeet Kapoor

On 16 Sep 2016 7:09 p.m., "Ronaldo" <[hidden email]> wrote:
>
> I am not sure I have the latest but I found a small bug in the snapshot
> version 2016.08.18. When the editor window is closed clicking the cross
> icon, the editor hiding is not marked accordingly in the View/Hide editor
> menu. So, when I want to reopen the editor window, I have to mark it and
> unmark it .

Above bug means you have latest snapshot and this issue is already noted and marked for correction.

--
Amarjeet Singh
https://amarjeetkapoor1.wordpress.com
https://github.com/amarjeetkapoor1
https://bitbucket.org/amarjeetkapoor

"The journey of a thousand commit begins with a single init"


_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
123