Resource icon

Blender addon: Import/Export .ai/.csv/.ini files 2.2.0

Login or Register an account to download this content
-fixed something on export
-fixed AI-line export ignoring scaling
  • Like
Reactions: Rodger Davies
- fixed distance value per point not being saved in ai line export
- minor fixes when exporting to cameras.ini with names like CAMERA_0.001

sample Blender-console output:
1689677814049.png




- added AI line export into new/empty ai-line, afterwards
you MUST
--either load it into "ksEditor" and save from there again or
--use shift on AC start with "side_l/r.csv" in place

EDIT: might be NEW ai line export is too short? consider that __bugged__
EDIT2: see standalone py-script approach

1689679187924.png
  • Like
Reactions: EttieApple
-hopefully fixed not installing correctly

If you have problems, remove those folders and install again:
c:\Blender\3.1\scripts\addons\io_import_accsv\
c:\Users\yourUser\AppData\Roaming\Blender Foundation\Blender\3.1\scripts\addons\io_import_accsv\

(replace 3.1 and yourUser accordingly)
-fixed INI import/export (camera and overlay.ini), added option to import as mesh instead of empties; ....001/...02 will be recognized/ignored on export
fixed CSV import
  • Like
Reactions: Sulphurous
-fixed error when importing same named stuff more than once
  • Like
Reactions: Esotic
-fixed stupid version check preventing it to work on Blender 3.0
-added option when exporting to CSV to skip PoT value
-added importing/exporting from/to camera.ini files (plain axis empties, camera.inis must exist for export, POSITION= is used)

1638711600937.png

  • Like
Reactions: GzeroD
-fixed last point on CSV export
-added option for CSV/AI import to skip connection from last2first vertex (for a2b tracks)
1630324041473.png
re-added missing Convert2Curve (and back) funtions for CSV-export
  • Like
Reactions: DBLN8483
fixed some error introduced by not cleanly packing up new version

Note: while using/making it, i encountered this: with CSP enabled, please disable those two options, or CSP will generate ai-line borders based on valid surfaces from "data\surfaces.ini", which makes importing new csv-borders impossible:
1620429249110.png
  • Like
Reactions: DBLN8483
-added option for CSV export to sort vertices of borders, using convert to curve and back to mesh
-now its easier to make borders from road-mesh, you still have to take care of vertex 0 to be in the right place: at start.

edit: actually when testing i have seen, you only need to have border-coordinates in correct order, but you dont need to take care, where it starts, ac does automatically figure out where to put 0: where AC_TIME_0 gates are. So screw that last part above.

1613853205129.png
-fixed ai-line export for idx!=5 (not ai-line itself, this was fine)
  • Like
Reactions: DBLN8483
-added multiplier of 100 for certain ai-line-details (if enabled on ai-line import), for both import+export, to make it more visible/usefull
1601642403882.png
  • Like
Reactions: GzeroD and DBLN8483
-fixed first time importing out of place
-fixed importing another ai-line after first time import
-added optional import/export for the other 18 data points inside the ai-line, plain values along the normal ai-line, idk if its helpfull in any way; also dont ask me about their meanings, i dont know, only detail-data 1 and 5 seem to have any meaning at normal scale, actually no 5 is scaled down by 100 on import (it would be scaled up 100 on export)
-added some more output to blender system console
1601416240142.png
;)
  • Like
Reactions: NightEye87
by accident i uploaded v0.7 again as broken 0.8
I am very sorry!
-idk if this is needed at all, i think it does not really matter, in which order the list of border-vertices is, but i did it anyway
-added "reverse" option for CSV export
-added "shiftCount" option for CSV export, so you can change which index in list of vertices is taken first, use negative values like "-151" to let it start at index "0 minus 151"
-added (VERRRY slow) option "doDoubleCheck" to check for double vertices on CSV import, can fix broken borders from side_l/r.csv
-fixed ai line export, it was still too closely based on original one, now takes distance btw points in account too like csv export
  • Like
Reactions: Prototype_
-added export of fast_lane to ".ai" files
-file must already exist, it will be overwritten, import one first from "Import->AC fast_lane.ai"
-safety check ensures you only overwrite ai line with same number of points
-export is without borders, best to load borders again after this operation
-only xyz values in original ideal-line will be changed
-fix for export to CSV: figured out how to make the pointOfTrack param in csv from distance btw points
-used in action on a track and exporting and then letting AC read new side_l/r.csv (in hotlap mode while holding shift) works like a charm

Latest News

Are you buying car setups?

  • Yes

  • No


Results are only viewable after voting.
Back
Top