[FR] scale to given size

Open
#2 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
cpp

Research direction

Start at the obj-magic command-line entry point and trace how existing scale-factor options are parsed and applied to Wavefront OBJ meshes. Define how the requested target dimensions or XZ fit should behave, then verify the resulting mesh bounds using representative file.obj inputs; done means the selected option produces the requested dimensions.

Written by the indexing model from the issue text.

Description

Thanks for the amazing utility!

It would nice to be able to scale an object via a resulting size, not via a scale factor.
Something like ./obj-magic -O --scale-tox 1.0 --scale-toz 1.0 file.obj

(My top level goal is to fit a object into the [1,x,1] interval, so maybe --fitxz 1.0 would be an option as well)

Dominant language
C++
Stars
45
Forks
12
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from tapio/obj-magic

All issues in tapio/obj-magic

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.