Free STL Importer with Source Code

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

 
Thread Tools Search this Thread Display Modes
  03 March 2018
Free STL Importer with Source Code

C4D can't open certain .stl files.
After some testing, I think the problem is coming from empty spaces being written into the files by certain applications. The built-in .stl importer seems to not like that.
So I've written my own C4D plugin using some code I found on the internet that will import these types of .stl files (binary files only).
It's not perfect. But it's good enough in a pinch when dealing with these files that won't load using the built-in STL importer.
And you can always make any code changes you wish. There's no usage restrictions on it.

https://github.com/Scott-Ayers/C4D_STL_LOADER

-ScottA
__________________
My Gallery
 
  03 March 2018
Thank you scott--this could come in handy.
 
  03 March 2018
This could be very helpful indeed!


Now, if we can just get native STEP importing...
 
  03 March 2018
^ Buy me an STEP SDK license and I'll give it whirl.
I really hate it when people do that charging for SDK licenses crap.

-ScottA
__________________
My Gallery
 
  03 March 2018
I would _____ for a STEP import with dedicated resolution settings .... would make my daily work so much faster and easier.
__________________
R19 Visualize - Flickr Album - Website
 
  03 March 2018
Hi Scott,

Is there a mac version, also ?
Seems the STL-Importer is only for windows.

Best regards,
Thomas
 
  03 March 2018
Nope. Sorry.
I don't use Apple products.

-ScottA
__________________
My Gallery
 
  03 March 2018
Thanks for the info.
 
  4 Weeks Ago
FYI, the plugin ID seems to be the same as the CV C4D to Unreal plugin.
__________________
Les Sandelman
 
  4 Weeks Ago
Really? How strange.
That ID is a testing ID for plugin devs. And isn't supposed to be used in any plugins released to the general public.
I rarely register an official ID with my plugins because they're mostly tutorial files for other devs. And I hate wasting official numbers on them.
But in this case it slipped my mind and I forgot all about it.

I just updated the Git files with an official generated ID#. So that should fix it.
Thanks for bringing it to my attention.

-ScottA
__________________
My Gallery
 
reply share thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
CGSociety
Society of Digital Artists
www.cgsociety.org

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump
Miscellaneous

All times are GMT. The time now is 03:00 AM.


Powered by vBulletin
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.