PYSIDE6-BALSAM(1)
π pyside6-balsam π
okay so bestie, pull up a chair, grab a boba, because we are talking about pyside6-balsam β a lil tool from the PySide6 crew (manual section 1, iykyk) that is, and I quote, just balsam. no cap. that's the whole name. iconic.
β¨ SYNOPSIS β¨
balsam [options] sourceFilename
π¦ DESCRIPTION π¦
It converts graphical assets to a runtime format for use with Qt Quick 3D. that's it, that's the vibe. your pretty little 3D files go in, a runtime-ready format comes out, and Qt Quick 3D eats it up. slay. π
π OPTIONS π
bestie there are a LOT of these. like, a comedic amount. I'm not skipping a single one though, we're doing this together. hydrate. get comfortable. π
-h,--helpβ shows you the help for the commandline options. the classic cry for help, but make it helpful.--help-allβ shows help including the generic Qt options. the deluxe version. the help with extra sprinkles. π--outputPath,-o <outputPath>β sets where the generated file(s) get placed. default is the current directory. so if you don't say anything, it just dumps stuff right here where you're standing. rude but fine. π--no-pluginsβ disables assetimporter plugin loading, so it only considers built-ins. no outside opinions allowed.-f,--options-file <file>β loads options from<file>. yes, options inside an options file, we love a nested situation.--disable-preTransformVerticesβ turns off the preTransformVertices thing. see below for what that is, it's a whole moment.--disable-removeComponentTangentsAndBitangentsβ disables the removal of Tangents and Bitangents components. they stay. periodt.--disable-removeComponentTexturesβ disables removing embedded texture components, so your textures stay right where they are.--disable-generateMipMapsβ turns off the force-mip-maps situation.--transformUVCoordinatesβ this step applies per-texture UV transformations and bakes them into stand-alone vtexture coordinate channels. baking, but for geometry. chef's kiss. β¨--recalculateLodNormalsMergeAngle <recalculateLodNormalsMergeAngle>β maximum angle in degrees to consider for normal smoothing/merging.--globalScaleβ this step will perform a global scale of the model. everything. all of it. scaled. π«Ά--disable-globalScaleβ no global scale today bestie, we're not doing that.--disable-findDegeneratesβ disables the search-and-rescue for degenerate primitives.--useFloatJointIndicesβ stores joint indices as floating point numbers for GLES 2.0. specifically GLES 2.0. it's giving legacy support, and honestly? respect.--calculateTangentSpaceβ calculates the tangents and bitangents for the imported meshes. the math girlies are eating today. π₯--disable-calculateTangentSpaceβ turns that tangent space math off.--fbxPreservePivotsβ sets whether the fbx importer will preserve pivot points (as extra nodes).--disable-generateNormalsβ no new normals for all faces of all meshes. not today.--disable-splitLargeMeshesβ keeps your large meshes large. no splitting, no sub-meshes.--disable-designStudioWorkaroundsβ disables the Design Studio compatibility workarounds. no extra accommodating energy.--recalculateLodNormalsβ calculates new normals when necessary for Generated Mesh Levels of detail.--disable-improveCacheLocalityβ leaves your triangles in their original order, cache locality be damned.--improveCacheLocalityβ reorders triangles for better vertex cache locality. the triangles get a glow-up reorder. obsessed. π--generateNormalsβ generates normals for all faces of all meshes.--findInvalidDataβ this step searches all meshes for invalid data, such as zeroed normal vectors or invalid UV coords, and removes/fixes them. it's intended to get rid of some common exporter errors. basically the cleanup crew π§Ή--removeRedundantMaterialsβ searches for redundant/unreferenced materials and removes them. recycling era β»οΈ--recalculateLodNormalsSplitAngle <recalculateLodNormalsSplitAngle>β maximum angle in degrees to consider for normal splitting, which creates new vertex data.--disable-findInstancesβ no searching for duplicate meshes today, thank you.--disable-expandValueComponentsβ keeps value components small and unexpanded.--disable-useFloatJointIndicesβ stops joint indices being stored as floating point numbers. (rip GLES 2.0 coding)--splitLargeMeshesβ splits large meshes into smaller sub-meshes. big mesh? no. many small meshes? yes.--useBinaryKeyframesβ records keyframe data as binary files.--disable-transformUVCoordinatesβ turns off the UV coordinate transformation + baking step.--dropNormalsβ drops normals for all faces of all meshes. literally just letting them go π--disable-removeRedundantMaterialsβ keeps the redundant/unreferenced materials. they live here now.--removeComponentBoneWeightsβ removes any bone weights from meshes.--removeComponentNormalsβ removes the Normal component from meshes.--disable-generateMeshLevelsOfDetailβ no auto-generated mesh Levels of Detail.--disable-fixInfacingNormalsβ leaves those inward-facing normals exactly as they are. we're not flipping anything.--removeComponentUVsβ removes any UV components from meshes.--expandValueComponentsβ when enabled, value types like vector3d and quaternion will be expanded.--disable-useBinaryKeyframesβ keyframes will not be recorded as binary files.--disable-manualAnimationsβ turns off manual animation control mode.--optimizeMeshesβ a postprocessing step to reduce the number of meshes. decluttering your entire 3D life. β¨--disable-optimizeMeshesβ keeps every mesh, no postprocessing reduction.--disable-recalculateLodNormalsβ disables the LOD normal recalculation.--generateMeshLevelsOfDetailβ when possible, create mesh Levels of Detail by automatically simplifying the source mesh. auto-simplify, so chic. πΈ--disable-removeComponentAnimationsβ leaves those animation components alone.--findInstancesβ this step searches for duplicate meshes and replaces them with references to the first mesh. found family but make it geometry. π«Ά--findDegeneratesβ this step searches all meshes for degenerate primitives and converts them to proper lines or points.--generateMipMapsβ force all imported texture components to generate mip maps for mip map texture filtering.--disable-removeComponentNormalsβ keeps the Normal components on meshes.--manualAnimationsβ no TimelineAnimations are generated for Timelines so that they can be manually controlled. you're the main character of the timeline now π--removeComponentColorsβ removes any Color components from meshes.--joinIdenticalVerticesβ identifies and joins identical vertex data sets within all imported meshes. they were the same all along π--removeComponentAnimationsβ removes any animation components from meshes.--globalScaleValue <globalScaleValue>β the global scale factor.--fixInfacingNormalsβ tries to determine which meshes have normal vectors that are facing inwards and inverts them. reaching in, flipping them around. π--optimizeGraphβ a postprocessing step to optimize the scene hierarchy.--designStudioWorkaroundsβ enable options that are needed to create Design Studio compatible components.--disable-joinIdenticalVerticesβ don't join identical vertex data sets, they can stay separate, it's fine, no pressure.--disable-removeComponentUVsβ keeps your UV components on the meshes.--disable-optimizeGraphβ no scene hierarchy optimization. the hierarchy is perfect as it is.--disable-removeComponentColorsβ keeps the Color components. colorful era π--disable-generateSmoothNormalsβ no smooth normals for all vertices.--removeComponentTangentsAndBitangentsβ removes Tangents and Bitangents components from meshes.--disable-removeComponentBoneWeightsβ keeps the bone weights on the meshes.--removeComponentTexturesβ removes any embedded texture components from meshes.--disable-fbxPreservePivotsβ the fbx importer will not preserve pivot points.--disable-findInvalidDataβ skips the invalid data search-and-fix step entirely.--generateSmoothNormalsβ generates smooth normals for all vertices in the mesh.--disable-dropNormalsβ keeps your normals, we are NOT dropping them.--preTransformVerticesβ removes the node graph and pre-transforms all vertices with the local transformation matrices of their nodes.
real talk bestie: basically every positive option here has a matching --disable- twin, so if you're ever like "wait, did I turn that ON or OFF", double check before you ship it. π«Ά
π Arguments: π
sourceFilenameβ the asset file to be imported. this is your star of the show, the file you're feeding in. give it a name and let it cook. π₯
and that's the whole page, you made it, I'm so proud of you π
this was pyside6-balsam version 6.11, dated September 2026 β catch you in the next man page, bestie. mwah. πππ¦β¨
π¦ where this page comes from
- ubuntu stonking: pyside6-tools 6.11.2-1build1 Β· GPL-3-EXCEPT OR LGPL-3.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms