We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
render_joints=True
Hi. I'm playing with ocp_viewer's animation features and render_joints=True seems to mess the reference for the animation:
from build123d import * from ocp_vscode import * from bd_warehouse.pipe import PipeSection set_defaults(reset_camera=Camera.KEEP) with BuildPart() as pipe_builder: # Create the pipe with BuildLine(): path = TangentArc((0, 0, 0), (2 * FT, 0, 1 * FT), tangent=(1, 0, 0)) with BuildSketch(Plane(origin=path @ 0, z_dir=path % 0)): PipeSection("10", material="stainless", identifier="40S") sweep() RigidJoint(label="outlet", joint_location=path.location_at(1)) with BuildPart() as ball: Sphere(0.25 * FT) RevoluteJoint(label="ball_j") pipe_builder.part.joints["outlet"].connect_to(ball.part.joints["ball_j"]) pipe_builder.part.label = "pipe" ball.part.label = "ball" assembly = Compound( label="assembly", children=[pipe_builder.part, ball.part], ) show(assembly) # show(assembly, render_joints=True) anim = animation.Animation(assembly) anim.add_track("/assembly/ball", "rz", [0, 1, 2, 3, 4], [0, 90, 180, 270, 360]) anim.animate(1)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi. I'm playing with ocp_viewer's animation features and
render_joints=True
seems to mess the reference for the animation:anim_nrj.mp4
anim_rj.mp4
The text was updated successfully, but these errors were encountered: