Workspace NURBS loader

free scripts, plugins, models, textures
User avatar
clintonman
Captain
Posts: 5659
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California

Workspace NURBS loader

Post by clintonman »

NURBSloader.jpg
This script will load NURBS patches from scn and cob files. The advantage over the model side conversion is that it maintains the quad structure. Image shows a NURBS torus that has been converted to a control point mesh, regular conversion in the middle and a useless at this time handles representation.
http://www.clintons3d.com/plugins/trues ... index.html"

This script only works on scn and cob files that have been saved with the Ascii option.
Clinton Reese

http://clintons3d.com
User avatar
BNG
Chief Warrant Officer
Posts: 684
Joined: 16 Oct 2009, 03:26
Type the number ten into the box: 0
Location: Texas

Re: Workspace NURBS loader

Post by BNG »

Very cool Clinton, but it looks like it won't work in the Rosetta version which is why I still prefer the Beta 8 version. Question, do you know if the default settings can be set to ASCII? I've tried checking the modelside COB and SCN save settings, but they always seem to reset to the default binary form when I close Truespace. I hope that someday a Rosetta based plugin importer is created to import COB and SCN files in to this TS version. Thanks, BNG.
v3rd3
Lieutenant Commander
Posts: 1191
Joined: 21 May 2009, 20:04

Re: Workspace NURBS loader

Post by v3rd3 »

Thanks Clinton... will give this a shot very soon.
froo
Captain
Posts: 2554
Joined: 22 May 2009, 12:13

Re: Workspace NURBS loader

Post by froo »

I may be wrong BNG but, I think, if you create an object on Model side (in Rosetta),
then switch to Workspace side (in Rosetta) and save as RsObj, or RsScn format, you should be able to
open that file in Beta 8.
User avatar
BNG
Chief Warrant Officer
Posts: 684
Joined: 16 Oct 2009, 03:26
Type the number ten into the box: 0
Location: Texas

Re: Workspace NURBS loader

Post by BNG »

froo wrote:I may be wrong BNG but, I think, if you create an object on Model side (in Rosetta),
then switch to Workspace side (in Rosetta) and save as RsObj, or RsScn format, you should be able to
open that file in Beta 8.
As I recall there was a problem with the RSOBJ format between Rosetta and Beta 8. At least that's what I recall when creating a model in Rosetta and attempting to open it in Beta 8; it may have been the other way around though.

As to my question about setting the default binary setting for COB and SCN to ASCII is that possible? PS: It works for the X exporter settings. Thanks, BNG.
User avatar
clintonman
Captain
Posts: 5659
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California

Re: Workspace NURBS loader

Post by clintonman »

BNG wrote:
froo wrote:I may be wrong BNG but, I think, if you create an object on Model side (in Rosetta),
then switch to Workspace side (in Rosetta) and save as RsObj, or RsScn format, you should be able to
open that file in Beta 8.
As I recall there was a problem with the RSOBJ format between Rosetta and Beta 8. At least that's what I recall when creating a model in Rosetta and attempting to open it in Beta 8; it may have been the other way around though.

As to my question about setting the default binary setting for COB and SCN to ASCII is that possible? PS: It works for the X exporter settings. Thanks, BNG.
You can save a RsObj and RsScn files and they will open in Rosetta but it only works for things that Rosetta understands. It won't work with nurbs because the nurbs live on the model side which rosetta doesn't have. The script in this thread reads the nurbs data and creates a polygon mesh from it.
I don't think it's possible to make the text option for scn and cob to stick.
Clinton Reese

http://clintons3d.com

Return to “Repositorium”