You don't need to check for NURBS connectors and check for Light and Camera as well. NURBS don't have anything in common with them so no need to check.trueBlue wrote: ↑03 Dec 2020, 14:52 I am updating your Select script to include selecting NURBS & Curves
Select.png
For the NURBS script I am usingFor the Curves script I am usingCode: Select all
if(!Node.IsLight(subobj) && !Node.IsCamera(subobj) && Node.ConExists(subobj, "U precision"))
Would this be correct and is there anything else that could be addded?Code: Select all
if(!Node.IsLight(subobj) && !Node.IsCamera(subobj) && Node.ConExists(subobj, "CurvePosition"))
New NURBS tools
- clintonman
- Captain
- Posts: 5429
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
- Contact:
Re: New NURBS tools
- clintonman
- Captain
- Posts: 5429
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
- Contact:
Re: New NURBS tools
No testing as planned. Was getting trueSpace hard crashes even on fresh install and update.
Latest toolbar is shown, getting pretty long, but at least it's ready for testing again.
Re: New NURBS tools
I just found some 300x300 bmps that Paul gave me if your interested
- clintonman
- Captain
- Posts: 5429
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
- Contact:
Re: New NURBS tools
Yes, I'm interested. Is it only nurbs images?
Re: New NURBS tools
I added a few others that might be of use.
- Attachments
-
- New Compressed (zipped) Folder.zip
- (480.15 KiB) Downloaded 156 times
- clintonman
- Captain
- Posts: 5429
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
- Contact:
- clintonman
- Captain
- Posts: 5429
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
- Contact:
Re: New NURBS tools
Good test session. Found all sorts of things to fix.
There was a bunch of minor bugs and the curve from points tool can be cancelled now, before there was no way
Found that the double sided patch was the way to go because single sided can't be selected from the back even if the display is set to show back faces.
While building the main surface above found a block of code that was messing up the skin curves to patch and giving some crazy looking results.
In the tutorial the birail1 was used to create the rubber lip at the face. My version had a problem with rotations and flipped the last part of the lip inside out.
Next I copied the profile curve to the end of the lip and tried the birail2, but the automatic curve flipping didn't work and part of the lip was offset. Final attempt I turned off the automatic curve flipping, oriented the curves by hand and went through the proper selection order and it worked perfectly.
The auto flip function uses the distance from the start and end of the curves to determine if they should be flipped before skinning. The curves I think have start and end close enough that it gets confused and can't tell one from the other.
The next part of the tutorial mirrors the shape and uses the nurbs lathe function to create the scopes. It also uses an offset curve tool, which I don't have.
- clintonman
- Captain
- Posts: 5429
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
- Contact:
Re: New NURBS tools
Spent time working on helper utilities.
Added color controls for the edges and points, mesh edit settings, control for patch double sided or not, patch display controls and started the convert patch to mesh script.
Most of the new utilities are used to make the NURBS handles easier to see.
Next I think I'll cleanup the utilities UI, then do some tutorial tests and then finish the mesh converter
Re: New NURBS tools
I have no idea how your Mesh Normals are being used or any consequences in changing the Angle
But it sure looks better changing the Angle from 170 to 30 30 being trueSpace's default for Auto Faucet which runs from 0 to 90
Edit: 45 is the default
But it sure looks better changing the Angle from 170 to 30 30 being trueSpace's default for Auto Faucet which runs from 0 to 90
Edit: 45 is the default