Community Forum

Blender to giants editor

Forum Overview >> Blender Exporter

CategoryBlender Exporter
Created29.03.2023 22:30


Robert Alting (Robert_18) 29.03.2023 22:30
vehicle material array tool not found

David Zadnik (DzInLa) 30.03.2023 20:03
When do you receive this error?

Kristian (krisjo01) 02.04.2023 11:17
Probably in the UV editor. The vehicle material array tool (UDIM presets, which is part of the I3D Exporter) broke in blender version 3.1 if I remember correcly. Fix is to make sure the columns receive a integer for scaling and not a float value :-)

David Zadnik (DzInLa) 02.04.2023 16:57
I move the UVs manually in BLENDER on the UV Editing TAB.

When you UV unwrap, all go to 0_0 on the grid. https://assets.mantrid.net/?cat=vsMats

Example: G_Y_-1 to move selection down, then G_X_# if moving to the right.

Your selection can be a single face or the whole object.


Robert Alting (Robert_18) 02.04.2023 22:59
okay thanks for helping me guys I will try it :-)



can i use blender 3.5 version? for I3D Exporter


Kristian (krisjo01) 03.04.2023 02:00
yeah I am using 3.5 and haven't noticed any issues

David Zadnik (DzInLa) 03.04.2023 05:38
Hi Kristian (krisjo01),

For the "make sure the columns receive an integer for scaling and not a float value" FIX you mentioned, have you ben able to implement it?

Kristian (krisjo01) 03.04.2023 11:06
Change:
num_cols = max(1, context.region.width / cell_w)

to:
num_cols = int(max(1, context.region.width / cell_w))


Location: io_export_i3d/tools/vehicleArrayTool.py inside the I3D_OT_VehicleArrayPanel class

Robert Alting (Robert_18) 03.04.2023 20:19
okay how can i do that

David Zadnik (DzInLa) 04.04.2023 04:06
Woo-Hoo ! ! ! The "Vehicle material array tool" FIX works for Blender 3.5.0

Thank-you to Kristian (krisjo01) for sharing the FIX.

Step 1: Open "vehicleArrayTool.py" in Notepad++ ( Located inside the FOLDER: io_expot_i3d/tools/vehicleArrayTool )
If you like make a copy of vehicleArrayTool.py before editing.

Step 2: Using search function, find "NUM_COLS ="

Make a copy of the original line: num_cols = int(max(1, context.region.width / cell_w)

Add "# " at the beginning of the copied line

# num_cols = max(1, context.region.width / cell_w) # ORIGINAL LINE
num_cols = int(max(1, context.region.width / cell_w)) # EDITED LINE

Step 3: save file


-- Let me know if there are any changes required in this POST and I will edit/update it. --

Robert Alting (Robert_18) 05.04.2023 15:50

ok i tried but still no result

David Zadnik (DzInLa) 05.04.2023 20:17
Which folder is the i3d Exporter installed?

I manually install mine in the C:/Users/"your_username"/AppData/Roamig/Blender Foundation/Blender/3.5/scripts/addons FOLDER.

In the past I have it installed in two different folders at the same time.
In Blender, when looking at addons, put "i3d" in the search box to see if there are multiple copies installed.

https://image.giants-software.com/index.php?hash=2seeqpwz&codes=true (adding updated material images to the exporter)


Link to my shared edit:
https://mega.nz/file/GuwljLja#NcPgHjE_5iBAORWp7_LAlz-blh1VE0qnVpTB_ll6YZk
(LINK UPDATED April 16, 2023)
CREDIT to: Kristian (krisjo01)

Robert Alting (Robert_18) 08.04.2023 10:24
I did that but still no result how can i fix it

David Zadnik (DzInLa) 08.04.2023 21:08
Robert, see my previous post (edited).

Jjnhgfvbnm,mnbv Mnhgvc (valtfendmassey) 12.04.2023 13:02
Would you be able to fix the shader path being loaded incorrectly ?


Note: Log in to post. Create a new account here.