This is the discussion forum for Helix Toolkit.
For bugs and new features, use the issue tracker located at GitHub.
Also try the chat room!
0

Is there a mechanism to deform or bend created meshes in Helix3d?

Anonymous 11 years ago 0
This discussion was imported from CodePlex

BarrelNut wrote at 2014-05-09 15:43:

Is there a mechanism to deform or bend created meshes in Helix3d? I.e. if I have created a bar or a beam, can it be easily bent to slightly curved one?
0

HelixViewport3D on docking pane, model zooms out

Anonymous 11 years ago 0
This discussion was imported from CodePlex

michaeldjackson wrote at 2013-03-14 16:38:

In my app, I add various Helix 3d objects (RectangleVisual3D, PipeVisual3D, etc) to the HelixViewPort3D via viewPort3D.Children.Add(new RectangleVisual3D), etc.

The HelixViewPort3D is hosted in an content Pane of a TabGroup of a docking control. When I click on other tabs, then click back on the tab that contains the viewport, the "model" zooms out (smaller), and continues to do so each time I click another tab then click back.

Any idea as to what this issue could be?

objo wrote at 2013-04-15 12:50:

Is ZoomExtentsWhenLoaded set to true in the HelixViewport3D? The control is probably unloaded when changing tabs...
0

How to change material property of an imported model3D ?

lioneloddo 10 years ago updated 10 years ago 1
Hi,
I'm trying to change the color of a model3D that has been previously imported from an STL file like this:
CurrentModel = HelixToolkit.Wpf.ModelImporter.Load(Path);
where CurrentModel is a model3D. The default color for stl file is blue.

If I want to change its material properties, it's nesserary to use a GeometryModel3D...
var GeoModel = CurrentModel as GeometryModel3D

Then material properties are enabled ...
GeoModel.Material = Materials.Gray;

To add this model to my view, I create a ModelUIElement3D...
ModelUIElement3D ModelUI = new ModelUIElement3D(); and add it ...
ModelUI.Model = geoModel;

Next step should be to add the ModelUIElement3D to the view...
view.Children.Add(ModelUI);

But that doesn't work...
Any ideas ?
Thanks
Lionel
0

How to have strip material on pipe?

Anonymous 11 years ago 0
This discussion was imported from CodePlex

behnam263 wrote at 2014-06-25 08:38:

Hi I need strip material on pipe or tube but wrong texture coordinates always make me away from my way.
how to have strip material brush?
for example this picture http://www.componentforce.com/userfiles/image/categories/safetypipecoveringinpe_lg.jpg

objo wrote at 2014-06-25 09:54:

See the example Source\Examples\WPF\ExampleBrowser\Examples\BuildingDemo\ and the KerbVisual3D.cs implementation. I think this is close to what you need.
0

Examples for Kinect

Anonymous 11 years ago 0
This discussion was imported from CodePlex

mobe_k wrote at 2014-01-07 16:50:

where do i find examples for kinect?

objo wrote at 2014-01-07 22:45:

See Source\HelixToolkit.Kinect.sln
0

Draw a dashed line

Anonymous 11 years ago 0
This discussion was imported from CodePlex

baucez wrote at 2011-06-19 10:45:

Hi everybody,

 

I'm developing a cad software using Helix toolkit and I think that is simply great.

I would like to draw a dashed line on the borders of a 3d figure in order to better understand where is the border between two solids.

Is it possible to do it with some class of the toolkit?

Thanks


objo wrote at 2011-06-19 12:35:

hi baucez,
see http://3dtools.codeplex.com/ or http://www.charlespetzold.com/3D/ for line drawing code!
Helix toolkit only draws cylinders and tubes. Would performance be good enough if you rendered your dashes as cylinders?

0

StartSpin

Anonymous 11 years ago 0
This discussion was imported from CodePlex

hulahoops wrote at 2012-10-22 18:25:

The StartSpin method of the CameraController is what I am looking for to animate a rotation, but changing the position or the around point parameter doesn't seems to effect the rotation direction which seems to always be in a mouse up-down direction.  What I want is rotation around the Z axis (i.e. left-right).  My defaults are as follows:

view.CameraMode = CameraMode.Inspect;

view.CameraRotationMode = CameraRotationMode.Turntable;

view.ModelUpDirection = new Vector3D(0, 0, 1);

camera.UpDirection = new Vector3D(0, 1, 0);

 

Any ideas please?


objo wrote at 2012-11-02 22:43:

the StartSpin method is used when initiating a spin with touch or mouse events. The arguments are the speed of the cursor (in screen coordinates), the point on the screen (2D) to rotate around, and the point in the model (3D) to rotate around. 

Consider starting an animation on the camera properties directly if you need more control on the rotation!


hulahoops wrote at 2012-11-05 10:09:

OK, thanks

0

source code of your examples

Anonymous 11 years ago updated by anonymous 7 years ago 1
This discussion was imported from CodePlex

ppcomma wrote at 2011-07-06 23:00:

Hi,
Where can I find the source code of your examples or documentation about helix3d toolkit?


objo wrote at 2011-07-08 10:38:

Hi,
click on "Source Code" - then "Download". The code for all examples are in the solution. Or sync from the subversion repository as I change the library and examples quite frequently. If you only need the .dll, use the nuget package.
Documentation is so far only in the XML comments. I try to add XML comments on all public methods and properties, since this works so well with intellisense.
I will write a quick reference later this autumn.

0

Why the displayed model was cut off after using Orthographic Camera?

Anonymous 11 years ago 0
This discussion was imported from CodePlex

wangzh wrote at 2014-07-24 03:45:

I created a large cylinder 2000 diameter and 1000 height. The inside diameter is 1988. It was displayed all in Perspective Camera. After I change the camera to Orthographic, it was cut off.

Anyone could help me to adjust the Orthographic Camera setting to display a model larger than 2000?


Thanks in advance.
0

Binding HelixViewPort : What to bind for these Models?

Anonymous 11 years ago updated by Michael Powell 11 years ago 1
This discussion was imported from CodePlex

terry_513 wrote at 2014-02-06 15:31:

In my WPF application, I am using Helix 3dToolkit. In my XAML I have added HelixViewPort3D (myViewPort). Based on certain selections, I add elements dynamically, using myViewPort.Children.Add(visual3DObj). I mainly add components like Rectangle, Pipe, Cone.

I wish to edit (add/remove/update) elements based on selections changed. For that I believe I got to bind HelixViewPort in XAML with something in Code Behind. I can't get what property of HelixViewPort I got to bind in XAML, and to add all Children elements due to which the changes in models can be affected in view.

I looked out in examples of Helix, and also tried it but couldn't succeed, hence am asking here.

Kindly help me. Thanks.