Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
tyre/tire selection
06-12-2010, 02:46 PM,
#29
 
Quote:outer ring of the wheel edge should vary more than the inner
From the code in mg_rim() the outer edge is:
Code:
innerRadius = rimDiameter_in * 0.0254f * 0.5f;
flangeOuterRadius = innerRadius * 1.08f;
float sectionWidth_m = sectionWidth_mm / 1000.0f;
flangeOutsideWidth = sectionWidth_m - (sectionWidth_m / 4.0f);

This means I always know the outer rim radius and width. The mesh will be placed relative to the outer rim edge. The inner rim edge has some constant values applied independent of the scale, thus unusable as reference point for mesh placement.

Quote: .blend file you posted has a negative x value for the hub. or, am i completely misunderstanding you?
Sorry, I've got the coordinates wrong. The wheel mesh is facing in negative direction(x-axis). Its vertices should be on the positive side then. Just import the 5_spoke_m.joe and scale the object (0.406, 0.406, 0.406). You only have to move the vertices (in edit mode) into positive direction(x-axis) and scale them by 1.05 or so. Then it should fit the rim pretty well. Undo the object scale and export the object.
Reply


Messages In This Thread
tyre/tire selection - by stan.distortion - 05-31-2010, 04:42 AM
[No subject] - by NaN - 05-31-2010, 01:20 PM
[No subject] - by zimluura - 05-31-2010, 07:23 PM
[No subject] - by joevenzon_phpbb2_import3 - 05-31-2010, 10:14 PM
[No subject] - by NaN - 06-01-2010, 04:19 AM
[No subject] - by NaN - 06-01-2010, 04:23 AM
[No subject] - by stan.distortion - 06-01-2010, 05:25 AM
[No subject] - by zimluura - 06-01-2010, 05:44 PM
[No subject] - by zimluura - 06-02-2010, 02:36 AM
[No subject] - by NaN - 06-02-2010, 03:18 AM
[No subject] - by NaN - 06-02-2010, 03:43 AM
[No subject] - by stan.distortion - 06-02-2010, 04:48 AM
[No subject] - by zimluura - 06-02-2010, 11:48 AM
[No subject] - by stan.distortion - 06-02-2010, 05:05 PM
[No subject] - by NaN - 06-03-2010, 02:07 AM
[No subject] - by zimluura - 06-03-2010, 08:10 PM
[No subject] - by NaN - 06-04-2010, 05:06 PM
[No subject] - by zimluura - 06-04-2010, 08:02 PM
[No subject] - by zimluura - 06-08-2010, 04:56 AM
[No subject] - by NaN - 06-08-2010, 01:56 PM
[No subject] - by zimluura - 06-08-2010, 03:52 PM
[No subject] - by NaN - 06-11-2010, 01:45 PM
[No subject] - by zimluura - 06-11-2010, 04:51 PM
[No subject] - by NaN - 06-11-2010, 05:05 PM
[No subject] - by zimluura - 06-11-2010, 10:39 PM
[No subject] - by NaN - 06-12-2010, 05:40 AM
[No subject] - by NaN - 06-12-2010, 06:03 AM
[No subject] - by zimluura - 06-12-2010, 02:22 PM
[No subject] - by NaN - 06-12-2010, 02:46 PM
[No subject] - by zimluura - 06-12-2010, 04:03 PM
[No subject] - by zimluura - 06-12-2010, 04:20 PM
[No subject] - by NaN - 06-12-2010, 04:25 PM
[No subject] - by NaN - 06-12-2010, 06:16 PM
[No subject] - by zimluura - 06-12-2010, 06:29 PM
[No subject] - by NaN - 06-12-2010, 06:45 PM
[No subject] - by zimluura - 06-12-2010, 06:54 PM
[No subject] - by NaN - 06-12-2010, 07:01 PM
[No subject] - by zimluura - 06-12-2010, 07:06 PM
[No subject] - by zimluura - 06-12-2010, 07:18 PM
[No subject] - by NaN - 06-13-2010, 05:18 AM
[No subject] - by NaN - 06-13-2010, 05:30 AM
[No subject] - by zimluura - 06-13-2010, 12:29 PM
[No subject] - by NaN - 06-13-2010, 12:35 PM
[No subject] - by NaN - 06-13-2010, 12:45 PM
[No subject] - by zimluura - 06-14-2010, 07:11 AM
[No subject] - by NaN - 06-14-2010, 05:11 PM
[No subject] - by zimluura - 06-14-2010, 05:56 PM
[No subject] - by zimluura - 06-14-2010, 07:15 PM
[No subject] - by zimluura - 07-07-2010, 02:30 PM
[No subject] - by NaN - 07-07-2010, 05:57 PM
[No subject] - by zimluura - 07-07-2010, 09:41 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)