https://www.posetteforever.com/viewtopic.php?f=1&t=2672&p=34721#p34721
-----------------------------------
VK
Wednesday, 07 February 2007, 11:31 PM

Re: Cars With Posable Pedals, Steering Wheel - Like The Cobra
-----------------------------------
Yes, these are basically the steps you have to do. Unfortunately, the process is a bit complicated when it comes to the details.

1. You can't safe the imported obj directly as a cr2 figure library. 
When you have the obj, someone or something must create a first version of the cr2 based on this obj. In Poser 5 or later, you take the obj into the "figure-creation-room". I don't know the name of the room because I use Poser 4. 

In Poser 4, you write a "phi" file. In this file you specify the name and path of the obj which should be used for the cr2 creation. I usually place the obj file in the Geometries folder. In Poser, you choose the "Convert Hierarchy file..." and Poser creates the new cr2 library and puts it into the "New Figures" folder of the Character libraries. The new cr2 will use the obj at the path you specified in the phi file.

The "phi" method is old-fashioned but still the best when you create a complicated model with many parts. The following code is the phi file for the cobra. You can see the obj file, the actors, their hierarchy, and rotation order. Each actor is a group name in the obj, and will be the name of the body part in the cr2.

2.+3. Once you have the first version of the cr2, you load the cr2 in Poser from the figure library, set rotations and dial limits, and re-save the cr2 to the library.

At this point, you can load the model from the new cr2 library and you have a working model in your scene. 

However, you a lot of work can't be done in Poser. When Poser creates the cr2, it assumes you want to make a human or animal. A lot of code in the cr2 is used for this sort of soft-body models. When you make a car, you will adjust or remove this code from the cr2. So, you usually edit the cr2 in a text editor and then go back to Poser, load the cr2, and check the modifications.

BTW, thanks for the cool textures, Whazizname  :) 

[code linenumbers=false]
objFile :Runtime:Geometries:cobra:ac427sc.obj

1 car yzx
	2 doorL yzx
	2 doorR yzx
	2 trunk xyz
	2 hood xyz
	2 windshield xyz
		3 windowL yzx
		3 windowR yzx
		3 sunscreenL xyz
		3 sunscreenR xyz
		3 wiperpivotL zxy
			4 wiperarmL xyz
				5 wiperbladeL xyz
		3 wiperpivotR zxy
			4 wiperarmR xyz
				5 wiperbladeR xyz
	2 seatL yzx
	2 seatR yzx
	2 bumperF yzx
	2 bumperB yzx
	2 dashboard yzx
		3 glovecomp xyz
		3 steeringshaft zxy
			4 steeringwheel zxy
			4 blever zxy
		3 dial1 zxy
		3 dial2 zxy
		3 dial3 zxy
		3 dial4 zxy
		3 dial5 zxy
		3 dial6 zxy
		3 dial7 zxy
	2 gearshift yzx
	2 handbrake xyz
	2 pedalL xyz
	2 pedalC xyz
	2 pedalR xyz
	2 chassis yzx
		3 uparmFL zxy
		3 loarmFL zxy
			4 bearingFL yzx
				5 axleFL xyz
					6 wheelFL xyz
						7 spinnerFL xyz
			4 rodFL yzx
			4 saFL zxy
		3 sapistonFL zxy
		3 uparmFR zxy
		3 loarmFR zxy
			4 bearingFR yzx
				5 axleFR xyz
					6 wheelFR xyz
						7 spinnerFR xyz
			4 rodFR yzx
			4 saFR zxy
		3 sapistonFR zxy
		3 axleBL xyz
			4 bearingBL xyz
				5 wheelBL xyz
					6 spinnerBL xyz
			4 rodBL xyz
			4 saBL zxy
		3 sapistonBL zxy
		3 axleBR xyz
			4 bearingBR xyz
				5 wheelBR xyz
					6 spinnerBR xyz
			4 rodBR xyz
			4 saBR zxy
		3 sapistonBR zxy
		3 cooler yzx
		3 engine yzx
[/code]


