Skript path mac
Moderator: andrew
					Forum rules
			
Always indicate your operating system and QCAD version.
Attach drawing files and screenshots.
Post one question per topic.
		
		
	Always indicate your operating system and QCAD version.
Attach drawing files and screenshots.
Post one question per topic.
- 
				davidwuest
- Registered Member
- Posts: 1
- Joined: Sun Aug 04, 2024 8:34 pm
Skript path mac
where do I place scripts on a mac?
			
									
									
						- 
				CVH
- Premier Member
- Posts: 4957
- Joined: Wed Sep 27, 2017 4:17 pm
Re: Skript path mac
Hi, and welcome to the QCAD forum.
I am not a MAC user but with some research I think I can point out where to look.
It seems that MAC users don't see the underlying folder structure immediately.
In Removing the Trial Add-Ons Andrew points out to "Right-click on QCAD.app and click Show Package Contents".
Where QCAD.app/Contents/PlugIns is your Plug-In folder, QCAD.app/Contents/scripts would be the ECMAScript folder.
Another option would be the local data location: Changelog ... Scroll down to "3.26.2 (2021/04/15)"
macOS: ~/Library/Application Support/QCAD/QCAD
There you could add a sub-folder called "scripts/" and also folders for "libraries/", "patterns/", and so on.
Remind that in a standard installation most script files are included in compiled form.
Meaning that the application scripts/ folder may look to be (almost) empty.
It won't resemble: https://github.com/qcad/qcad/tree/master/scripts
Script files and related placed under the application scripts/ folder or in the local data location will supersede existent scripts in compiled form.
Then the folder structure must be identical as on GitHub.
You can add custom scripts in both locations, it might be required to manually add parts of the main folder structure.
Regards,
CVH
			
									
									
						I am not a MAC user but with some research I think I can point out where to look.
It seems that MAC users don't see the underlying folder structure immediately.
In Removing the Trial Add-Ons Andrew points out to "Right-click on QCAD.app and click Show Package Contents".
Where QCAD.app/Contents/PlugIns is your Plug-In folder, QCAD.app/Contents/scripts would be the ECMAScript folder.
Another option would be the local data location: Changelog ... Scroll down to "3.26.2 (2021/04/15)"
macOS: ~/Library/Application Support/QCAD/QCAD
There you could add a sub-folder called "scripts/" and also folders for "libraries/", "patterns/", and so on.
Remind that in a standard installation most script files are included in compiled form.
Meaning that the application scripts/ folder may look to be (almost) empty.
It won't resemble: https://github.com/qcad/qcad/tree/master/scripts
Script files and related placed under the application scripts/ folder or in the local data location will supersede existent scripts in compiled form.
Then the folder structure must be identical as on GitHub.
You can add custom scripts in both locations, it might be required to manually add parts of the main folder structure.
Regards,
CVH