discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

Introduction

AK
Amarjeet Kapoor
Mon, Mar 7, 2016 5:13 PM

Hi, I am Amarjeet Singh Kapoor, 3rd year student of B.tech in computer
science and engineering at Guru Nanak Dev Engineering College,
Ludhiana. Ludhiana
I have worked on Image Processing using OpenCV and made a project
regarding analysis of dynamic of structures (CivilOctave). Then I
started SIM (Structure information model). Idea behind the project is
modeling the structure based on information and storing it in database
so that information can be used for analysis.
At present just parsing Staad-pro files to extract information for
Sim. For more information, you can visit my github account.

https://github.com/amarjeetkapoor1

I have knowledge of C++, python,shell script,HTML, cgi, sql, latex,
doxygen, etc.

I'm interested to contribute in Project: Form based script parameterization
during my summers as much I have understand this project we want that
should be able to change certain variables or parameters in .scad file
through the use of form like interface which may include slide bar or
check box etc. so, that we can visualize the changes in output on the
base of input through the form side by side instead of manual changing
different parameters instead.

Please tell did I understood the project correctly or if I have missed
something important?

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

"knowledge about knowledge is power"

Hi, I am Amarjeet Singh Kapoor, 3rd year student of B.tech in computer science and engineering at Guru Nanak Dev Engineering College, Ludhiana. Ludhiana I have worked on Image Processing using OpenCV and made a project regarding analysis of dynamic of structures (CivilOctave). Then I started SIM (Structure information model). Idea behind the project is modeling the structure based on information and storing it in database so that information can be used for analysis. At present just parsing Staad-pro files to extract information for Sim. For more information, you can visit my github account. https://github.com/amarjeetkapoor1 I have knowledge of C++, python,shell script,HTML, cgi, sql, latex, doxygen, etc. I'm interested to contribute in Project: Form based script parameterization during my summers as much I have understand this project we want that should be able to change certain variables or parameters in .scad file through the use of form like interface which may include slide bar or check box etc. so, that we can visualize the changes in output on the base of input through the form side by side instead of manual changing different parameters instead. Please tell did I understood the project correctly or if I have missed something important? -- Amarjeet Singh https://amarjeetkapoor1.wordpress.com https://github.com/amarjeetkapoor1 https://bitbucket.org/amarjeetkapoor "knowledge about knowledge is power"
TP
Torsten Paul
Mon, Mar 7, 2016 9:00 PM

Hi!

Welcome to the list.

On 03/07/2016 06:13 PM, Amarjeet Kapoor wrote:

I'm interested to contribute in Project: Form based script parameterization
during my summers as much I have understand this project we want that
should be able to change certain variables or parameters in .scad file
through the use of form like interface which may include slide bar or
check box etc. so, that we can visualize the changes in output on the
base of input through the form side by side instead of manual changing
different parameters instead.

Please tell did I understood the project correctly or if I have missed
something important?

Yes, that's a good summary of the core functionality. The github issue
has links to some short screencasts that illustrate how it could look
like. I guess the first challenge is to divide the topic into smaller
parts that can be handled easily. This is certainly a project where
it's possible to get lost in all the ideas that can be put into it :-).

ciao,
Torsten.

Hi! Welcome to the list. On 03/07/2016 06:13 PM, Amarjeet Kapoor wrote: > I'm interested to contribute in Project: Form based script parameterization > during my summers as much I have understand this project we want that > should be able to change certain variables or parameters in .scad file > through the use of form like interface which may include slide bar or > check box etc. so, that we can visualize the changes in output on the > base of input through the form side by side instead of manual changing > different parameters instead. > > Please tell did I understood the project correctly or if I have missed > something important? > Yes, that's a good summary of the core functionality. The github issue has links to some short screencasts that illustrate how it could look like. I guess the first challenge is to divide the topic into smaller parts that can be handled easily. This is certainly a project where it's possible to get lost in all the ideas that can be put into it :-). ciao, Torsten.
AK
Amarjeet Kapoor
Wed, Mar 9, 2016 1:35 AM

On Mar 8, 2016 2:32 AM, "Torsten Paul" Torsten.Paul@gmx.de wrote:

Hi!

Welcome to the list.

Thanks Torsten.

Yes, that's a good summary of the core functionality. The github issue
has links to some short screencasts that illustrate how it could look
like. I guess the first challenge is to divide the topic into smaller
parts that can be handled easily. This is certainly a project where
it's possible to get lost in all the ideas that can be put into it :-).

Yes, your right about geting lost in all the ideas for projects like this.

At Present I am trying to know the software little bit from user's point of
veiw. so, as to know is their anything provided to user by openscad that
can be used in for above project like system arguments while executing the
.scad file.

And I have not found the developer's documentation of openscad just found
some charts which provided information regarding how a module in .scad file
is run by opensacd but it doesn't tells in which file the starting code
exits or relationship and functionality of code in each file.

Would you guide me from where can I get an abstract view of the softwares
based on flow of data in openscad.

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

On Mar 8, 2016 2:32 AM, "Torsten Paul" <Torsten.Paul@gmx.de> wrote: > > Hi! > > Welcome to the list. > Thanks Torsten. > Yes, that's a good summary of the core functionality. The github issue > has links to some short screencasts that illustrate how it could look > like. I guess the first challenge is to divide the topic into smaller > parts that can be handled easily. This is certainly a project where > it's possible to get lost in all the ideas that can be put into it :-). Yes, your right about geting lost in all the ideas for projects like this. At Present I am trying to know the software little bit from user's point of veiw. so, as to know is their anything provided to user by openscad that can be used in for above project like system arguments while executing the .scad file. And I have not found the developer's documentation of openscad just found some charts which provided information regarding how a module in .scad file is run by opensacd but it doesn't tells in which file the starting code exits or relationship and functionality of code in each file. Would you guide me from where can I get an abstract view of the softwares based on flow of data in openscad. -- Amarjeet Singh https://amarjeetkapoor1.wordpress.com https://github.com/amarjeetkapoor1 https://bitbucket.org/amarjeetkapoor
TP
Torsten Paul
Wed, Mar 9, 2016 7:34 AM

On 03/09/2016 02:35 AM, Amarjeet Kapoor wrote:

And I have not found the developer's documentation of openscad
just found some charts which provided information regarding how
a module in .scad file is run by opensacd but it doesn't tells
in which file the starting code exits or relationship and
functionality of code in each file.

There is an overview of the main flow and relation of the core
objects in:
https://github.com/openscad/openscad/blob/master/doc/OpenSCAD-compile.pdf
Otherwise the existing developer documentation focuses more on
things like building the application on various platforms.

For myself I found the best strategy to get to know new code
base is to find some small topic and dig into the part of code
that is related to this. Understanding then grows from there.
Sitting down and trying to understand all details of the code
by just looking at it is a very scary and dreary work and rarely
needed to be productive.

Would you guide me from where can I get an abstract view of
the softwares based on flow of data in openscad.

The PDF mentioned above shows the main steps involved when
compiling and displaying a model. This is a good base for
understanding OpenSCAD in general and will also help a bit
for the "Customizer" project. It's probably not needed to
understand every detail to work on the project. A big part
of this project is also GUI/Qt to give the user the means
to modify the parameters.

In parallel, I'd suggest to just get the code from github and
get it compiling. For GSoC we'll follow the framework of our
umbrella org BRL-CAD, so a small and simple patch would be
required as well. This could be one of the tasks tagged as
"low hanging" in github, or we can discuss some other options
(probably easier in a more interactive way on IRC).

ciao,
Torsten.

On 03/09/2016 02:35 AM, Amarjeet Kapoor wrote: > And I have not found the developer's documentation of openscad > just found some charts which provided information regarding how > a module in .scad file is run by opensacd but it doesn't tells > in which file the starting code exits or relationship and > functionality of code in each file. > There is an overview of the main flow and relation of the core objects in: https://github.com/openscad/openscad/blob/master/doc/OpenSCAD-compile.pdf Otherwise the existing developer documentation focuses more on things like building the application on various platforms. For myself I found the best strategy to get to know new code base is to find some small topic and dig into the part of code that is related to this. Understanding then grows from there. Sitting down and trying to understand all details of the code by just looking at it is a very scary and dreary work and rarely needed to be productive. > Would you guide me from where can I get an abstract view of > the softwares based on flow of data in openscad. > The PDF mentioned above shows the main steps involved when compiling and displaying a model. This is a good base for understanding OpenSCAD in general and will also help a bit for the "Customizer" project. It's probably not needed to understand every detail to work on the project. A big part of this project is also GUI/Qt to give the user the means to modify the parameters. In parallel, I'd suggest to just get the code from github and get it compiling. For GSoC we'll follow the framework of our umbrella org BRL-CAD, so a small and simple patch would be required as well. This could be one of the tasks tagged as "low hanging" in github, or we can discuss some other options (probably easier in a more interactive way on IRC). ciao, Torsten.
AK
Amarjeet Kapoor
Wed, Mar 9, 2016 8:14 AM

On Mar 9, 2016 1:05 PM, "Torsten Paul" Torsten.Paul@gmx.de wrote:

There is an overview of the main flow and relation of the core
objects in:
https://github.com/openscad/openscad/blob/master/doc/OpenSCAD-compile.pdf
Otherwise the existing developer documentation focuses more on
things like building the application on various platforms.

Thanks I will go through.

<snipe>

In parallel, I'd suggest to just get the code from github and
get it compiling. For GSoC we'll follow the framework of our
umbrella org BRL-CAD, so a small and simple patch would be
required as well. This could be one of the tasks tagged as
"low hanging" in github, or we can discuss some other options
(probably easier in a more interactive way on IRC).

On Mar 9, 2016 1:05 PM, "Torsten Paul" <Torsten.Paul@gmx.de> wrote: > There is an overview of the main flow and relation of the core > objects in: > https://github.com/openscad/openscad/blob/master/doc/OpenSCAD-compile.pdf > Otherwise the existing developer documentation focuses more on > things like building the application on various platforms. > Thanks I will go through. <snipe> > In parallel, I'd suggest to just get the code from github and > get it compiling. For GSoC we'll follow the framework of our > umbrella org BRL-CAD, so a small and simple patch would be > required as well. This could be one of the tasks tagged as > "low hanging" in github, or we can discuss some other options > (probably easier in a more interactive way on IRC). Yes, sure and I have complied it. -- Amarjeet Singh https://amarjeetkapoor1.wordpress.com https://github.com/amarjeetkapoor1 https://bitbucket.org/amarjeetkapoor
AK
Amarjeet Kapoor
Fri, Mar 11, 2016 7:19 AM

On 9 March 2016 at 13:04, Torsten Paul Torsten.Paul@gmx.de wrote:

<snip>

In parallel, I'd suggest to just get the code from github and
get it compiling. For GSoC we'll follow the framework of our
umbrella org BRL-CAD, so a small and simple patch would be
required as well. This could be one of the tasks tagged as
"low hanging" in github, or we can discuss some other options
(probably easier in a more interactive way on IRC).

As per you suggested, I have gone through issues with "low hanging"
tag and choose the easiest one to be solved the issue number #1526
https://github.com/openscad/openscad/issues/1526

Please, review it so that I can try to solve other ones. I have send
pull request

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

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

"knowledge about knowledge is power"

On 9 March 2016 at 13:04, Torsten Paul <Torsten.Paul@gmx.de> wrote: <snip> > In parallel, I'd suggest to just get the code from github and > get it compiling. For GSoC we'll follow the framework of our > umbrella org BRL-CAD, so a small and simple patch would be > required as well. This could be one of the tasks tagged as > "low hanging" in github, or we can discuss some other options > (probably easier in a more interactive way on IRC). As per you suggested, I have gone through issues with "low hanging" tag and choose the easiest one to be solved the issue number #1526 https://github.com/openscad/openscad/issues/1526 Please, review it so that I can try to solve other ones. I have send pull request https://github.com/openscad/openscad/pull/1601 -- Amarjeet Singh https://amarjeetkapoor1.wordpress.com https://github.com/amarjeetkapoor1 https://bitbucket.org/amarjeetkapoor "knowledge about knowledge is power"
MK
Marius Kintel
Fri, Mar 11, 2016 9:55 PM

Please, review it so that I can try to solve other ones. I have send
pull request

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

Thanks!

A few comments:
o Please mention in the commit message and/or pull request description which issue you’ve solved. Otherwise it’s hard to follow the development for other members.
o In issue #1526 there’s a discussion on which shortcut to use. I would recommend posting your suggestion there, asking if anyone disagrees with the choice of shortcut.
o Before merging, we should document the shortcut in the wiki page mentioned in issue #1526
o A tip: Don’t use your master branch for pull requests. If you have more than one pull request open, you’ll run into problems as the pull request automatically tracks your branch.

-Marius

> > Please, review it so that I can try to solve other ones. I have send > pull request > > https://github.com/openscad/openscad/pull/1601 > Thanks! A few comments: o Please mention in the commit message and/or pull request description which issue you’ve solved. Otherwise it’s hard to follow the development for other members. o In issue #1526 there’s a discussion on which shortcut to use. I would recommend posting your suggestion there, asking if anyone disagrees with the choice of shortcut. o Before merging, we should document the shortcut in the wiki page mentioned in issue #1526 o A tip: Don’t use your master branch for pull requests. If you have more than one pull request open, you’ll run into problems as the pull request automatically tracks your branch. -Marius
AK
Amarjeet Kapoor
Sun, Mar 13, 2016 1:16 PM

On Mar 12, 2016 3:27 AM, "Marius Kintel" marius@kintel.net wrote:

Thanks!

A few comments:
o Please mention in the commit message and/or pull request description

which issue you’ve solved. Otherwise it’s hard to follow the development
for other members.

o In issue #1526 there’s a discussion on which shortcut to use. I would

recommend posting your suggestion there, asking if anyone disagrees with
the choice of shortcut.

o Before merging, we should document the shortcut in the wiki page

mentioned in issue #1526

o A tip: Don’t use your master branch for pull requests. If you have more

than one pull request open, you’ll run into problems as the pull request
automatically tracks your branch.

Thanks for the above. I will take care for all of them.

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

On Mar 12, 2016 3:27 AM, "Marius Kintel" <marius@kintel.net> wrote: > Thanks! > > A few comments: > o Please mention in the commit message and/or pull request description which issue you’ve solved. Otherwise it’s hard to follow the development for other members. > o In issue #1526 there’s a discussion on which shortcut to use. I would recommend posting your suggestion there, asking if anyone disagrees with the choice of shortcut. > o Before merging, we should document the shortcut in the wiki page mentioned in issue #1526 > o A tip: Don’t use your master branch for pull requests. If you have more than one pull request open, you’ll run into problems as the pull request automatically tracks your branch. Thanks for the above. I will take care for all of them. -- Amarjeet Singh https://amarjeetkapoor1.wordpress.com https://github.com/amarjeetkapoor1 https://bitbucket.org/amarjeetkapoor
AK
Amarjeet Kapoor
Fri, Mar 18, 2016 9:28 AM

As per your suggestion I was understanding the code and found the
issue https://github.com/openscad/openscad/issues/722 from which
customizer project was developed. There were a lot of suggestions like
using meta data, using explicit function or using special keywords
like param for specifying the parameters etc. were given by
contributers of repository that how it should be implemented and what
I was thinking was that we can make all variables assigned values in
.scad file be displayed as parameters and then get information from
user about how they want to change that variable like using ranges,
radio button, also other descriptions etc and then we can  generate
input form from that.

Now I want to Know from you that which approach you want to be used so
that I could be able to write my proposal accordingly.

When I was reading all the issues there was a link of branch, in which
the project was already developed.
https://github.com/openscad/openscad/tree/model-meta-data3

Now what should I do that we need to use different approach for that
project or you want to continue with that only.

While reading code, I found that there are no comments related to
code. Comments should be there for easy understanding. Please add
comments in your code, It will pace up developed and will be easy to
understand.
Currently I'm using doxygen to understand flow of your code but there
is lack of comments.

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

"knowledge about knowledge is power"

As per your suggestion I was understanding the code and found the issue https://github.com/openscad/openscad/issues/722 from which customizer project was developed. There were a lot of suggestions like using meta data, using explicit function or using special keywords like param for specifying the parameters etc. were given by contributers of repository that how it should be implemented and what I was thinking was that we can make all variables assigned values in .scad file be displayed as parameters and then get information from user about how they want to change that variable like using ranges, radio button, also other descriptions etc and then we can generate input form from that. Now I want to Know from you that which approach you want to be used so that I could be able to write my proposal accordingly. When I was reading all the issues there was a link of branch, in which the project was already developed. https://github.com/openscad/openscad/tree/model-meta-data3 Now what should I do that we need to use different approach for that project or you want to continue with that only. While reading code, I found that there are no comments related to code. Comments should be there for easy understanding. Please add comments in your code, It will pace up developed and will be easy to understand. Currently I'm using doxygen to understand flow of your code but there is lack of comments. -- Amarjeet Singh https://amarjeetkapoor1.wordpress.com https://github.com/amarjeetkapoor1 https://bitbucket.org/amarjeetkapoor "knowledge about knowledge is power"
TP
Torsten Paul
Sat, Mar 19, 2016 3:26 PM

On 03/18/2016 10:28 AM, Amarjeet Kapoor wrote:

Now I want to Know from you that which approach you want to be
used so that I could be able to write my proposal accordingly.

My view on this topic is that we should follow the existing
prototype code and make it actually usable for at least one
of the use cases, main use case being the actual customizer
logic that sparked the feature request.

This could then be integrated as experimental feature in the
dev versions of OpenSCAD to gather some feedback based on
actual use of this feature.

Details for the proposal we can easier discuss on IRC, which
would also be the main communication channel for code related
discussions, it's easier to clarify those questions in a more
interactive way. So I'd suggest to join there.

When I was reading all the issues there was a link of branch,
in which the project was already developed.
https://github.com/openscad/openscad/tree/model-meta-data3

Yes, this has some groundwork in the parser and a partial UI.
It's not really in a state where we can merge it and give it
to users. I do have to refresh my mind about the exact state
of that code, but I think the remaining topics are well
enough to fill the timeline of a GSoC project. And if we
find there's some time left, there's lots of room to expand
to another use case, some of those I started collecting in
https://github.com/openscad/openscad/wiki/Meta-Data-Use-Cases

ciao,
Torsten.

On 03/18/2016 10:28 AM, Amarjeet Kapoor wrote: > Now I want to Know from you that which approach you want to be > used so that I could be able to write my proposal accordingly. > My view on this topic is that we should follow the existing prototype code and make it actually usable for at least one of the use cases, main use case being the actual customizer logic that sparked the feature request. This could then be integrated as experimental feature in the dev versions of OpenSCAD to gather some feedback based on actual use of this feature. Details for the proposal we can easier discuss on IRC, which would also be the main communication channel for code related discussions, it's easier to clarify those questions in a more interactive way. So I'd suggest to join there. > When I was reading all the issues there was a link of branch, > in which the project was already developed. > https://github.com/openscad/openscad/tree/model-meta-data3 > Yes, this has some groundwork in the parser and a partial UI. It's not really in a state where we can merge it and give it to users. I do have to refresh my mind about the exact state of that code, but I think the remaining topics are well enough to fill the timeline of a GSoC project. And if we find there's some time left, there's lots of room to expand to another use case, some of those I started collecting in https://github.com/openscad/openscad/wiki/Meta-Data-Use-Cases ciao, Torsten.