Postby Dr_Froggy_rD » Sun Jan 31, 2016 9:29 am
Dear All, dear Mario52,
First:
I tried your macro on FreeCAD version 0.15 - it was only successful for me when I was choosing "Wire".
I was hoping to find an easy way to convert the Dwire obtained with your macro into a mesh surface which I can then easily close into a 3 D object.
And Print it. I saw that some web applications allow you to do so (and then you can ask someone to print it for you).
But your macro do not enable this. At least if it does I was not able to achieve this.
I was only able to get a Dwire.
Moreover. Maybe you can add in you GUI and Macro an option to
A) only calculate one DWire over x numbers of DWire (will diminish the calculation time). as an example, only "scan" the image one pixel line every 10 pixels --> a big advantage for a "big/heavy detailled image". Add a resolution option--> factor 1 will be the normal then a factor 0.1 --> 1 line every 10 pixels.
B) make iterative/repetitive calculation --> Sothat man can observe the results over the time-
the macro will load first every line every 10 lines then the second lines every ten line
(pixel line 1 ---> next pixel line 11 ------> final pixel line xx1, show the DWires corresponding to line pixel1 to pixel xx1
then go back pixel line 5 --> next pixel line 15-------> final pixel line xx5., show the DWires corresponding to line pixel 5 to pixel xx5
then go back pixel line 9 --> next pixel line 19-------> final pixel line xx9., show the DWires corresponding to line pixel 9 to pixel xx9
... and so on)
--> calculate an acceptable time for a first viewing (every 30 sec. viewing actualised : so a dividing factor for the resolution iteration method must be correlated/extrapolated with the actualisation procedure)
C) add a stop button and a kill task button once you have executed the macros that will allow to stop the calculation but still have a result OR kill the calculation without displaying any calculated results.
Iterative/repetitive scanning allows for example when using a FTIR Spectrophotometer to see early results and observe the evolution of spectral changes of the signal over a defined acquisition time.
This is very practical.
Those implementations will be very nice.
Best Regards
Froggy
EDIT: A video tutorial showing how to get a 3D printable part starting from this tool will be extremely great.