Here's the idea I'm currently working on:
Current state of PolarArray panel:
- taskpanel_old.png (21.22 KiB) Viewed 2096 times
Proposed panel (modifications for the CircularArray panel would be analogous):
- taskpanel_new.png (26.07 KiB) Viewed 2096 times
How would this work? In this conservative change I would simply add the AxisReference by clicking the select button and then selecting the axis with the mouse. After a successful selection the text label next to the button would display the name of the axis I selected (e.g. $SelectedAxis). When I successfully selected an AxisReference the "Center of Rotation" grid would be greyed out or disappear. Also the button would change to read deselect and a push would undo the selection and enable the "Center of rotation" grid again.
Yes that's basically the starting point on which I'll build. Currently you have to rely on firing up the GUI along the notebook for the 3D view and my goal is to integrate this directly into the notebook.
yorik wrote: ↑Wed May 20, 2020 8:24 am
[...] but you might prefer something simpler if you see you're going too deep... As vocx says there are many smaller issues in Draft, I think
I'll take this into account, I haven't looked deeply into the referenced issue yet. But yes it shouldn't be a second project, just something light.
sgrogan wrote: ↑Wed May 20, 2020 8:43 pm
I would suggest spending your time making sure you can compile/use FreeCAD. You may not need this strictly for your project, but you will likely introduce some new dependencies. Search some threads about Addons-manager to see some of the problems, even for pure python code to add dependencies on the different platforms.
That is a good tip. I will need to update my setup, probably some time next week. Currently I'm working with
the docker container to compile FreeCAD, which might be problematic because I would need to run the Jupyter notebook from withing the container as well. On the other hand I could create a docker container specific for this project derived from the standard one, so everyone who follows the development could easily compile and test on their system. On the other hand all the different platforms and setups would be an early testing ground to find platform and similar issues.
kryptokommunist wrote: ↑Fri May 15, 2020 8:36 pm
For the next step I thought about documenting the development process. Do you think this might be useful? I started a rough sketch.
On this front I also expanded the document, I put the PlantUML file in a dedicated
Github repository with an SVG file with clickable hyperlinks. While I learned that there are already visualizations of the development process in
the Wiki this one is a bit more high level and depicts more of the ecosystem:
- development_documentation.png (116.14 KiB) Viewed 2096 times