2013-09-21 04:49 PM
2014-11-12 08:09 AM
sinceV6 wrote:As you advice I finally manage to do it this way.
Hi!
For 2D representation, you can create the fill of your pattern and use that in the object's options (parking space background fill).
Best regards.
sinceV6 wrote:This also was very helpful.
Hi!
For 3D, it would be better to use a texture. If you are asking because you need it for rendering, a texture (with displacement) should work
Best regards.
2014-11-12 03:50 PM
2015-05-07 08:34 PM
2015-05-08 01:34 AM
!===CALCULATE # OF SPACES PER SEGMENT AND PARKING SPACE SIZE PER SEGMENT===== DIM spacesInSegment[], spaceSize[], spaceSize3D[] FOR i=1 TO segments+1 IF segmentMinimumSize < minSizes THEN segmentMinimumSize = minSizes NEXT i segmentMinimumSize[points+1]=spaceMinimumSize PARAMETERS segmentMinimumSize = segmentMinimumSize FOR i=1 TO segments IF segmentControl<0 THEN spacesInSegment=0 GOTO 'NEXT SEGMENT SPACES' ENDIF !========== IF constantMinimumSize THEN spacesInSegment = INT(hypotenuse2D/spaceMinimumSize) ELSE spacesInSegment = INT(hypotenuse2D/segmentMinimumSize) ENDIF spacesInSegment = spacesInSegment !========== IF spacesInSegment>0 THEN IF sizeMode = 'Adjusted' THEN spaceSize = hypotenuse2D/spacesInSegment spaceSize3D = hypotenuse3D/spacesInSegment ENDIF !========== IF sizeMode = 'Fixed' THEN IF constantMinimumSize THEN spaceSize = spaceMinimumSize spaceSize3D = spaceMinimumSize * (hypotenuse3D/hypotenuse2D) ELSE spaceSize = segmentMinimumSize spaceSize3D = segmentMinimumSize * (hypotenuse3D/hypotenuse2D) ENDIF ENDIF ENDIF !========== 'NEXT SEGMENT SPACES': NEXT i
2015-05-27 09:38 PM