Welcome at the forum!!keithg wrote:I registered on this forum simply to say thank you for this macro. I have to use reference drawings a lot and this will save me sooo much time. Well done.
Image scaling Macro
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
Re: Image scaling Macro
Re: Image scaling Macro
Hi, I am new to this and I thought this Macro would be useful but I am not sure if I am installing it or using it correctly. It says I am getting a Syntax Error when I try executing it 48,73 not sure if anyone had that issue?
Re: Image scaling Macro
Perhaps it is a locale problem, did you try entering the value as 48.73
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Re: Image scaling Macro
No i just copy and pasted the macro code into the macro creation part. I have also tried the downloaded macro file and still the same error.
Does the file need to be in a specific directly?
Does the file need to be in a specific directly?
Re: Image scaling Macro
The file has to be in your macro directory which can be configured in Preferences->General->Macro->Macro path.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Re: Image scaling Macro
which I did define since my macro directory is not the default location.
- sliptonic
- Veteran
- Posts: 3460
- Joined: Tue Oct 25, 2011 10:46 pm
- Location: Columbia, Missouri
- Contact:
Re: Image scaling Macro
This macro is broken. It looks like most of the code is completely missing.
It ends on line 47 with a missing close ')' which is why it is giving the error noted.
Is there an updated version of this macro somewhere that actually works?
I really think this is necessary functionality for the image workbench. Perhaps it should be fixed up and included directly.
Also, the image workbench really needs different icons for the two tools on the toolbar.
It ends on line 47 with a missing close ')' which is why it is giving the error noted.
Is there an updated version of this macro somewhere that actually works?
I really think this is necessary functionality for the image workbench. Perhaps it should be fixed up and included directly.
Also, the image workbench really needs different icons for the two tools on the toolbar.
Re: Image scaling Macro
in the page there is a download link (I know it is a bit hidden )sliptonic wrote: ↑Tue May 08, 2018 2:10 pm This macro is broken. It looks like most of the code is completely missing.
It ends on line 47 with a missing close ')' which is why it is giving the error noted.
Is there an updated version of this macro somewhere that actually works?
I really think this is necessary functionality for the image workbench. Perhaps it should be fixed up and included directly.
Also, the image workbench really needs different icons for the two tools on the toolbar.
http://forum.freecadweb.org/download/file.php?id=19542
- sliptonic
- Veteran
- Posts: 3460
- Joined: Tue Oct 25, 2011 10:46 pm
- Location: Columbia, Missouri
- Contact:
Re: Image scaling Macro
Ok. But when the macro is installed from the Addon Manager, the only thing installed is the partial snippet visible on the Wiki page.
- sliptonic
- Veteran
- Posts: 3460
- Joined: Tue Oct 25, 2011 10:46 pm
- Location: Columbia, Missouri
- Contact:
Re: Image scaling Macro
Line 47 has a pipe character that seems to be breaking the code template.