Comments (1)
I'm not sure about multi-key combinations, or repeated presses of the same key to toggle through states. That sounds a little complicated. However, I would endorse a simple interface that maps single keys onto some of the more useful viewer options in OpenSCAD. For example,
- T -> top
- B -> bottom
- L -> left
- R -> right
- SHIFT+F -> front
- SHIFT+B -> back
- O -> orthogonal
- P -> perspective
(Or propose a better key mapping.)
I think that TBLRFB could probably be implemented simply by changing the existing 3D camera variables, same as how the HOME key (reset) works.
The O/P keys would, I think, require somebody who understands the difference between a "perspective projection" and an "orthographic projection". I think changes are required to the 3D rendering code, and possibly the addition of a new uniform variable. There are lots of tutorials on the web that explain these concepts, in the context of OpenGL. Look at the fragment shader generated by -o foo.frag
on the command line: the code is in libcurv/geom/frag.cc
.
I am not sure what you want the "Zoom Extents" command to do. Isn't that just a command that makes all objects visible? Doesn't the HOME key already do that?
from curv.
Related Issues (20)
- Compiler error when compare parametric value to null HOT 2
- Curv can't find boost include file during build (M1 Mac with macOS 11.4) HOT 7
- Please upload AppImage to GitHub Releases HOT 1
- Request: Splines? HOT 12
- lib.builder: '}' doesn't pop the origin stack HOT 1
- `curv -le` stops reloading the file after a change, on Windows
- union seams during mesh export HOT 7
- rewrite Curv to use WebGPU HOT 2
- GLTF export produces bad output HOT 1
- Typo in Makefile HOT 1
- Broken link in documentation HOT 1
- 2D "slider" in parameters panel HOT 2
- Bad baground color after two rotation transformations HOT 3
- Error building Curv on Windows 10 with MSYS2 HOT 5
- Build Error on Win 10 HOT 9
- Error on Ubuntu (22.04 LTS) HOT 5
- libfive backend? HOT 10
- Give me access to curv3d/libfive HOT 2
- Something evaluating to incorrect number type
- Don't run GitHub actions on draft PRs
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from curv.