Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

macOS support #12

Open
avi-agg opened this issue Dec 22, 2023 · 6 comments
Open

macOS support #12

avi-agg opened this issue Dec 22, 2023 · 6 comments

Comments

@avi-agg
Copy link

avi-agg commented Dec 22, 2023

Does this work on macOS or it is for Windows only?

@SamuelTallet SamuelTallet changed the title MacOS support macOS support Dec 27, 2023
@SamuelTallet
Copy link
Owner

What processor and macOS version do you have, please?

This plugin has been successfully tested on Intel Monterey.

As of now, I doubt that Apple Silicon processors (e.g. M1) are supported but else it is doable 😉

@joekieffer
Copy link

If you manually install this from a source release the Apple quarantine flags will cause a series of errors. You can use sudo xattr -r -d com.apple.quarantine /Users/<username>/Library/Application\ Support/SketchUp\ <year>/SketchUp/Plugins to recursively remove the com.apple.quarantine extended attribute to get this working. I can confirm M2, Sketchup 2023.0 working with release 1.2.3.

@SamuelTallet
Copy link
Owner

Thank you @joekieffer for this very useful information! Do you know if Apple's quarantine also affects SketchUp plugins installed as .rbz files?

And does polygon reduction with the Universal Importer plugin (which relies on an old version of MeshLab Server) also work on Apple M2?

@joekieffer
Copy link

@SamuelTallet Unfortunately im a lowly sysadmin by day so i'm not sure how to invoke the poly reduction process. If you can send a process I can validate and report back.

The quarantine flag is added to any file that is downloaded by a browser on the Mac. In the event that you download the release zip file the flag is recursively applied to files extracted. So if you had a single rbz file you would be able to call the command sudo xattr -d com.apple.quarantine <filepath> The omission of the -r (recursive flag) will work for a single file. You can also run xattr <file path> to see what extended flags are on the file.

@SamuelTallet
Copy link
Owner

SamuelTallet commented Feb 15, 2024

@joekieffer

I'm not sure how to invoke the poly reduction process.

It's simple: Import any 3D model with the Universal Importer, when plugin asks "Reduce polygon count?", answer "Yes" then validate a faces number target. MeshLab Server will be called in the background.

In the event that you download the release zip file the flag is recursively applied to files extracted.

You're talking about an installation/extraction in the Plugins folder with solely the macOS Finder, isn't it?

But what if the .rbz file is installed with the SketchUp Extension Manager, does Apple's quarantine still apply to files extracted this way?

@joekieffer
Copy link

@SamuelTallet

Poly count: works as described when going really low things get wild but that's to be expected.

Quarantine: correct my comments are strictly about the Mac is Finder download and manual data movement. The SketchUp manager does not seem to have this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants