For bugs and new features, use the issue tracker located at GitHub.
Also try the chat room!

HelixViewport3D on docking pane, model zooms out
michaeldjackson wrote at 2013-03-14 16:38:
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:
ZoomExtentsWhenLoaded
set to true in the HelixViewport3D
? The control is probably unloaded when changing tabs...
How to change material property of an imported model3D ?
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

How to have strip material on pipe?
behnam263 wrote at 2014-06-25 08:38:
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:
Source\Examples\WPF\ExampleBrowser\Examples\BuildingDemo\
and the
KerbVisual3D.cs
implementation. I think this is close to what you need.
Draw a dashed line
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?

StartSpin
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

source code of your examples
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.

Why the displayed model was cut off after using Orthographic Camera?
wangzh wrote at 2014-07-24 03:45:
Anyone could help me to adjust the Orthographic Camera setting to display a model larger than 2000?
Thanks in advance.

Binding HelixViewPort : What to bind for these Models?
terry_513 wrote at 2014-02-06 15:31:
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.
Customer support service by UserEcho