ctmconv(1)

πŸ“¦
version 1.0.3 Β· 2 versions
, in debian bookworm, debian trixie, ubuntu jammy, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– ctmconv β€” the manual, but make it make sense πŸ’–

okay bestie, welcome to ctmconv(1), from the General Commands Manual section 1. this is the little command that turns your 3D models from one file format into another and honestly? it ate. πŸŽ€


✨ SYNOPSIS ✨

ctmconv infile outfile [options]

πŸ¦‹ DESCRIPTION πŸ¦‹

bestie. ctmconv is a 3D file converter that can convert 3D model files to and from several different formats. it's giving multilingual but make it meshes. πŸ’…

so here's the vibe: the file infile gets loaded, and then it gets saved as outfile in whatever the target file format is.

and the way it figures out the input and output formats? the file endings. yep, the extensions do all the talking. iykyk. 🧚


πŸ‘‘ OPTIONS πŸ‘‘

here's the whole menu, no skips, no cuts:

  • --scale arg β€” scale the mesh by a scalar factor. little guy? bigger guy. your call. ✨
  • --upaxis arg β€” set the up axis (X, Y, Z, -X, -Y, -Z). if it's anything other than Z, the mesh will be flipped. heads up bestie, that's a real change, not a vibe. πŸ™ˆ
  • --flip β€” flip the triangle orientation.
  • --calc-normals β€” if the source file doesn't have any normals, calculate them. we make our own normals here. πŸ’ͺ
  • --no-normals β€” do not export normals.
  • --no-texcoords β€” do not export texture coordinates.
  • --no-colors β€” do not export vertex colors.
  • --comment arg β€” set the file comment. default behaviour is to use the comment from the input file, if there is one.
  • --texfile arg β€” set the texture file name reference for the texture. default is to use the texture file name reference from the input file, if there is one.

🌈 when you're exporting an OpenCTM file 🌈

these extra ones also show up, and only then:

  • --method arg β€” select the compression method (RAW, MG1, MG2).
  • --level arg β€” set the compression level (0 - 9).
  • --vprec arg β€” set vertex precision (only for MG2).
  • --vprecrel arg β€” set vertex precision, relative method (only for MG2).
  • --nprec arg β€” set normal precision (only for MG2).
  • --tprec arg β€” set texture map precision (only for MG2).
  • --cprec arg β€” set color precision (only for MG2).

πŸ“ FILE FORMATS πŸ“

these are the 3D model file formats that are supported, and yes, we're listing every single one because every single one is iconic:

  • OpenCTM (.ctm)
  • Stanford triangle format (.ply)
  • Stereolitography (.stl)
  • 3D Studio (.3ds)
  • COLLADA 1.4/1.5 (.dae)
  • Wavefront geometry file (.obj)
  • LightWave object (.lwo)
  • Geomview object file format (.off)
  • VRML 2.0 β€” export only (.wrl)
not me reminding you that .wrl is export only. you can send but you can't receive. πŸ’€

⭐ AVAILABILITY ⭐

ctmconv is designed to be portable, bestie. it runs on several different systems, including (but not limited to): Windows, Mac OS X (10.3+), Linux and OpenSolaris. main character energy across every platform. 🌸


πŸ’œ SEE ALSO πŸ’œ


and that's the whole page! this one came out of the General Commands Manual for ctmconv(1), so if you see that footer floating around somewhere, that's just her signature. go convert something gorgeous. πŸ«Άβœ¨πŸ’–