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

Completely Disable Panning
MikeCo wrote at 2012-10-23 22:06:
Is there any way to completely disable panning? I just want my objects to be able to rotate, not pan.
Thanks
objo wrote at 2012-10-24 11:04:
Try IsPanEnabled = false
MikeCo wrote at 2012-10-24 16:09:
Ah! Duh...I just never saw this property. Thanks!

Add additional InputBinding in XAML
govert wrote at 2012-03-28 14:21:
This is more a WPF / XAML questions, but arose in the Helix Toollkit context:
Earlier versions of the HelixView3D had both the Shift+RightClick and the MiddleClick bound to the Pan command. The default template in the current version sets the PanGesture to Shift+RightClick, but MiddleClick no longer works. I want to keep the Shift+RightClick, and add the MiddleClick as an additional gesture, which means I can't just set the PanGesture property (it would replace the current gesture).
From code-behind it works if I do this:
InitializeComponent(); sceneView3D.Loaded += delegate { sceneView3D.CameraController.InputBindings.Add( new InputBinding(CameraController.PanCommand, new MouseGesture(MouseAction.MiddleClick))); };
But I'd rather set it in the XAML, so I've tried something like this:
<helix:HelixViewport3D x:Name="sceneView3D" ... > <helix:HelixViewport3D.InputBindings> <MouseBinding MouseAction="MiddleClick" Command="{x:Static helix:CameraController.PanCommand}"/> </helix:HelixViewport3D.InputBindings> ... </helix:HelixViewport3D>
but it doesn't work - we need to add to the CameraController's InputBindings.
Is it possible to add the InputGesture from XAML?
Thanks for the help,
Govert
objo wrote at 2012-04-03 01:20:
I added an alternative pan gesture dependency property (PanGesture2), and set the default value to the middle button.
That was the easy solution, not sure how to get the inputbindings to work..

Kerkythea Exporter: Texture Support
AaronLenoir wrote at 2010-02-08 09:43:
Hey,
I'm currently using the Kerkythea exporter to create Kerkythea scenes from WPF viewports. I've already implemented some changes to correctly support our transformations and it's looking really good.
Our main problem now is Texture support, I'm looking into it, but currently I've had no luck in applying textures (using Kerkythea) to models in a scene exported from WPF. The texture is scrambled beyond recognition. I was wondering if you have already done some work on the textures that might help me forward.
Thanks already!
PS: If you want, I will send you our current changes
objo wrote at 2010-02-21 18:02:
Fantastic! I would really like to include your improvements into the Kerkythea exporter. I added you as a developer, feel free to submit the changes (or e-mail me). Sorry I have not had time to look into texture support - but I think that's the next thing that should be supported. I am sure we can get some help from the Kerkythea forums/Ioannis. I am busy with other things right now, but will continue on this later. Cheers!
objo wrote at 2010-05-16 13:04:
hi Aaron, I am looking into the Kerkythea export again - you could send me the improvements you did on the transformations?

Line are invisible for AddBoundingBox with opacity
my issues is when i zoom-in and zoom-out the model the AddBoundingBox lines are not displayed completely , it is displayed in dotted lines .
we have user the AddBoundingBox function with parameter rect3D and opacity is 2.
here is my code..
Private Function CreateDice(ByVal rect3D As Rect3D, ByVal brush As Brush) As ModelVisual3D
GeometryModel3D.Material = MaterialHelper.CreateMaterial(brush)
Dim ModelVisual3D = New ModelVisual3D()
ModelVisual3D.Content = GeometryModel3D
Return ModelVisual3D
End Function
how to resolve this lines issue..

Drawing arrows
AnotherBor wrote at 2014-01-03 14:58:
I have a question about LineVisual3D.
Is there a way to add tiny arrow head at the end of the line segment(s)?
objo wrote at 2014-01-07 22:43:
AnotherBor wrote at 2014-01-08 02:18:
I checked how LineGeometryBuilder does the computations and it's beyond what I can tackle in my time frame allotted for this.
a5r wrote at 2014-01-08 22:21:
AnotherBor wrote at 2014-01-09 04:45:
I will try it out if arrows become a must in my project. For now lines are ok.
everytimer wrote at 2014-07-21 09:19:

How to remove center target symbole
wakes wrote at 2014-06-05 14:21:
I have suind demo of this toolkit in one of my project but in a collaborative application form, the center target which appears when you touch or click with mouse is enoying people sometimes.
Is there a way to hide this symbola as well as the box at bottom right corner ?
thanks
regards
Der_Meister wrote at 2014-08-25 09:48:

Transparent without colour problem
duongthaiha wrote at 2013-05-01 12:42:
I am new to Helix and trying to create a simple box with transparent at run time with C#. I can see the box showing with transparency but there is no colour on the box. I dont know if i did anything wrong in my small piece of code:
Objects = new ObservableCollection<Visual3D>();
Objects.Add(new GridLinesVisual3D());
var color = Color.FromArgb(0x80, Colors.Red.R, Colors.Red.G, Colors.Red.B);
var b = new BoxVisual3D()
{
Width = 10,
Length = 10,
Height = 10,
};
var brush = new SolidColorBrush();
brush.Color = color;
b.Fill = brush;
Objects.Add(b);
Thank you very much in advance.Best regards
objo wrote at 2013-05-08 15:37:
- Did you add lights to your model?
- I checked the
BoxVisual3D
class with
<ht:BoxVisual3D Width="10" Height="10" Length="10" Fill="#80FF0000"/>
and this works fine Note that you cannot get 100% correct visualization of transparency for a box in WPF...
You could also use the
ChangeAlpha
extension method: b.Fill = new SolidColorBrush(Colors.Red.ChangeAlpha(0x80))

Click Rotation
chimou wrote at 2013-05-14 18:52:
In my scene i have tow superposed CubeVisual3D like this :
<ht:CubeVisual3D x:Name="plateau" Width="140" Length="180" Height="15" Center="0 0 -5" TopFace="False" BottomFace="False" Fill="SteelBlue">
<ht:CubeVisual3D.Children>
<ht:GridLinesVisual3D Width="140" Length="180" MinorDistance="5" Center="0 0 -11" Fill="SteelBlue"></ht:GridLinesVisual3D>
</ht:CubeVisual3D.Children>
</ht:CubeVisual3D>
<ht:CubeVisual3D x:Name="Cover" Width="140" Length="180" Height="15" Center="0 0 10" TopFace="False" BottomFace="False" Fill="#4C58ABF0">
<ht:CubeVisual3D.Children>
<ht:GridLinesVisual3D Width="140" Length="180" MinorDistance="5" Center="0 0 17" Fill="SteelBlue" Thickness="1"></ht:GridLinesVisual3D>
</ht:CubeVisual3D.Children>
</ht:CubeVisual3D>
for this moment i rotate le outside CubeVisual3D called "Cover" like this :
<ht:BindableRotateManipulator x:Name="Rotation1" InnerDiameter="1" Diameter="5" Length="175" Position="0 70 2 " Color="SteelBlue"
Value="{Binding CoverRotateValue}"
Axis="-1 0 0" AllowDrop="True" TargetTransform="{Binding ElementName=Cover, Path=Transform}">
I want please enable rotation by a click on the Cube called "Cover", Is It possible ??
thank you in advance
objo wrote at 2013-06-07 11:54:
CubeVisual3D
is based on ModelVisual3D
and does not support click events. I think you need to create a Visual3D based on
ModelUIElement3D
to handle mouse clicks on a cube. Try setting
IsHitTestVisible = false
on the manipulator to disable it (but I think a "Enabled" property on the
Manipulator
class could be a good idea!)
Wireframe Cube using PipeVisual3D or LinesVisual3D ?
I have to use 12 PipeVisual3D objects for a cube. But, if I use LinesVisual3D, then only one object is enough to draw that.
but the LinesVisual3D is not getting refreshed automatically. I am using mouse drag/drop event to draw a wireframe cube. After drawn, I have to zoom in/out using mouse wheel to refresh the view to get the LinesVisual3D object.
but PipeVisual3D is drawn while moving the mouse.
so, how to auto draw or refresh the LinesVisual3D manually?
Customer support service by UserEcho