Questions tagged [cylindrical]

58 questions
1
vote
0 answers

How to project 3D human face mesh vertices on a cylindrical surface?

I am trying to implement a Pose Normalisation methodology as mentioned in the paper LipSync3D, where I need to project 3D human face mesh vertices on a cylindrical coordinate system with a vertical axis such that most face vertices are equidistant…
1
vote
1 answer

Finding hole in Solidworks parts

I'm trying to create an application in C# using Solidworks API that can help me to detect holes in SolidWorks parts. I'm very new to C# and this is like a new experiment. So far I wrote a code that does that but it's doesn't do completely what I…
1
vote
1 answer

How to match values of different meshgrids?

I am trying to create a grayscale stack of images of a cylinder starting from the information about the radius, size and orientation of a cylinder. This cylinder should be contained in a cubic 3D mesh, where each gridpoint will represent a…
Oier Arcelus
  • 107
  • 1
  • 8
1
vote
1 answer

OpenCascade: Cylindrical Face with Boundary Wire

I want to make the face of half a cylinder, using the boundary edges (two vertical lines and two 180° arcs). I know there are easier ways to do this, but my real problem is much more complex, and the edges I have are mostly splines. So, I tried to…
KungPhoo
  • 516
  • 4
  • 18
1
vote
0 answers

Find a cylinder normal based on hit vector from camera

I am working on a raytracing shader that tests for hits from cameraRays to a cylinder of radius R and center C, using cameraPosition as RayOrigin. The cylinder raytracing works fine, but I am struggling to find the Normal of the hit position. I…
Kotsuki
  • 61
  • 1
  • 3
1
vote
2 answers

How to fit a cylindrical model to scattered 3D XYZ point data?

I was wondering if it was possible for someone to provide me with some code examples for working with scattered XYZ point data in Point cloud Library? I would like to fit a cylindrical model to segmented scattered point cloud. In short, something…
1
vote
0 answers

Interpolating regular grids in R

I have a regular grid in cylindrical co-ordinates (R, z, theta). At each grid point I have a value for the density at that point. I am looking for advice on how to interpolate the density values to get the value at a certain point within a 3D grid…
Unstack
  • 551
  • 3
  • 7
  • 13
1
vote
1 answer

Simple Ray Tracing With Cylinder?

I am completely new to ray tracing and am having a problem with displaying a cylinder. I have implemented the code to find a sphere and have been following the tutorial I found here: http://woo4.me/wootracer/cylinder-intersection/ to add a simple…
MStak
  • 21
  • 1
  • 3
1
vote
1 answer

Processing 3D Arced Cylinder

I have a tricky one for all of you. I am attempting to draw in 3 dimensions using Processing and have run in to a snag. I want to draw a cylinder that arcs along a given innerRadius. I eventually want to be able to rotate it or start it at a…
1
vote
2 answers

gnuplot: how to make lines between points an arc

I have points data in cylindrical coordinates. Can I make them arc like here. Now lines look like those
BPiek
  • 174
  • 11
1
vote
1 answer

subdivide irregular cylinder into equal volume segments

I was wondering if someone has any ideas how to solve this problem. I have an "irregular" ( meaning diameter is not constant along the length) cylindrical object in 3D. I would like to subdivide this into smaller segments (length-wise) with equal…
user1301295
  • 674
  • 1
  • 6
  • 15
1
vote
2 answers

Merging a Sphere and Cylinder

I want to render a spring using spheres and cylinders. Each Cylinder has two Spheres at each end and all the cylinders are placed along the spring centre line. I could achieve this .. and rendering is good. I am presently doing it using gluSphere…
AdityaG
  • 428
  • 1
  • 3
  • 17
1
vote
2 answers

How to plot data on a cylindrical grid using slice?

I have input data on a cylindrical grid and want to plot them using slice in MATLAB. To do this I first transform the reference coordinates into Cartesian coordinates using pol2cart. r = linspace(1,4,4); phi = linspace(0,2*pi,10); z =…
Tim
  • 1,430
  • 15
  • 36
0
votes
2 answers

Stitching images to reconstruct the internal map of a cylinder

I am trying to stitch images taken by a camera that moves on a known helical trajectory, with known step size and straight axis. The camera takes pictures of the internal surface of a cylinder within which it moves. The helix and cylinder have the…
0
votes
0 answers

write cylindrical shape geometry as an upper triangular matrix(python)

I am writing in python and in the program I am using I need to define a box in cylindrical shape. To do so, i need to define a matrix(3*3) to make a cylindrical shape. Inside the package, they say you can have any shape for box as long as it is an…