Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: add axis indicators to the 3d view #321

Closed
kaosat-dev opened this issue Nov 16, 2017 · 6 comments
Closed

Feature: add axis indicators to the 3d view #321

kaosat-dev opened this issue Nov 16, 2017 · 6 comments

Comments

@kaosat-dev
Copy link
Contributor

Expected Behavior

Being able to tell which way is +/- x/y/z axis.
It is very confusing to navigate the 3d view and do correct modelling without clearly indicated axis.
I will be adding this feature asap

Actual Behavior

No indicator

Steps to Reproduce the Problem

1 . start openjscad
2. see there is not axis indicator

Specifications

  • Environment: browser
@z3dev
Copy link
Member

z3dev commented Nov 16, 2017

Well... there is actually but you cannot see those easily. The axis lines have colors, and positive is the darker color. Not good.

By the way, please make this optional as well.

@kaosat-dev
Copy link
Contributor Author

Wow ok , even now that you gave me this info , I still do not see it.
And yes, optional it will be.
Also in the new renderer ;)

@z3dev
Copy link
Member

z3dev commented Dec 18, 2017

@kaosat-dev Have you seen the Autocad web viewer? It has a different way of showing the "orientation", using a little cube in the upper right hand corner. Each side of the cube has a name; left, right, front, back,etc. I kind of like it.

Maybe R,L, F, Ba, T, Bo is enough.

@kaosat-dev
Copy link
Contributor Author

yep :) that is significantly harder to do than simple axis indicators (I implemented such a thing once, not trivial) , so add that to 'some day at a later point' :)

@kaosat-dev kaosat-dev mentioned this issue Jan 5, 2019
58 tasks
@z3dev z3dev added the V2 label May 20, 2020
@z3dev z3dev mentioned this issue Jun 24, 2020
3 tasks
@z3dev
Copy link
Member

z3dev commented Jun 26, 2020

This is part of V2, so I'm closing this.

@z3dev z3dev closed this as completed Jun 26, 2020
@JamesNewton
Copy link

For anyone who wants to stay on V1 or can't wait for V2 (while it's not out) here is a really crappy quick version of axis markers... just so someone else doesn't have to mess with it:

function axis() {
    return union (
    color("red",cube([40,.1,.1],{center:true})), 
    text("X", 1).rotateZ(90).translate([42,-.7,0]),
    color("red",cube([.1,40,.1],{center:true})), 
    text("Y", 1).translate([-.5,41,0]),
    color("red",cube([.1,.1,40],{center:true})), 
    text("Z", 1).rotateX(90).translate([-.5,0,41])
    ,color("red",cube({center:true}))
    )
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants