MaibornWolff / MaibornWolff/codecharta

Preview for 3d printing has stretched aspect ratio

Open
#3,679 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug pr-visualization priority:low
Dominant language
TypeScript
Stars
529
Forks
56
Avg merge
7h 17m
Merged PRs (30d)
34

Description

# Bug

## Expected Behavior

WHEN

Looking at the map in the 3d print preview

THEN

The map has the same aspect ratio from all angles

## Actual Behavior

The view of the map is "streched" where a square map looks to be much wider than tall

## Screenshots

Map straight from above (front view):
![image](https://github.com/user-attachments/assets/871472d7-4883-4859-93e6-29f5373630af)

Map straight from above (side view):
![image](https://github.com/user-attachments/assets/60387651-6bcf-4d08-b262-f579810eed85)

## Steps to Reproduce the Problem
1. Click 3d print button
2. Rotate map
3. Wide map

## Specifications
- is released in [online-demo](https://maibornwolff.github.io/codecharta/visualization/app/index.html?file=codecharta.cc.json.gz&file=codecharta_analysis.cc.json.gz): no
- CodeCharta Version: current main
- OS: MacOS
- Browser: Chrome

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.

Research direction

Start at the 3d print button and reproduce the stretched map in the preview while rotating it. Trace the TypeScript entry point for the 3D print preview and compare the map proportions from the front and side views. Done means a square map keeps the same aspect ratio from all angles.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
computer-graphics, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.