Open CASCADE, the 3D modelling kernel
3D modeling & numerical simulation

Search the Forums
See All Topics
Open CASCADEShowroomGet it!Developer CornerSupport and ProductsAbout us
Technical overview
Areas of use
Advantages
FAQ
Screenshots
Shape factory
Shape gallery
Demonstrations
What's new
System requirements
Download Center
Public license
Documentation
Getting started
Forums
Open Source community
Training and e-learning
A-la Carte Support
Value-added software
Complementary Components
Customer Corner
Company Profile
Marketing Materials
Contact Us
News
Home / Developer Corner / Forums / Usage issues / Contact Points of two solids

Contact Points of two solids

Contact Points of two solids
Deepak Agrawal 2012/10/05 06:52
I am new to OCC. So please excuse me if I am posting in wrong section.
I am trying to solve a torque equation and for that I need the contact points between any two solid parts. For example if a cube is on top of a second cube they will have infinite contact points. But I need the extreme points of the contact area. In this case there will be four points.

Please let me know if there is any inbuilt method for this or guide me how to proceed.
Pawel 2012/10/05 11:24
Hi Deepak,

you can try using Boolean Operations to find the contact shape between two models and then process the contact shape in order to find the extreme points. In case like above maybe you could also use bounding boxes to get the corner points.

Pawel
Deepak Agrawal 2012/10/15 23:37
Hi Pawel,

I am trying to use BRepAlgoAPI_Section to calculate the intersection shape of two shapes.
I also imported two classes

import org.jcae.opencascade.jni.BRepAlgoAPI_Section;
import org.jcae.opencascade.jni.TopoDS_Shape;

public void ...
....
...
BRepAlgoAPI_Section S(p1.getShape(),q1.getShape(), PerformNow);
return S.Shape();
...
}

But I am getting this error :BRepAlgoAPI_Section cannot be resolved to a variable
Can you tell me how to use this function.

Deepak
Pawel 2012/10/16 00:17
Hi Deepak,

sorry but Im not that much into java.

Maybe you could ask the guys from jCAE?

Pawel
Deepak Agrawal 2012/10/16 00:22
Thanks for replying. I think I figured it out.
 
 
Latest news
  • Open CASCADE Technology 6.7.0 is available for download!
  • Open CASCADE Technology 6.6.0 is available for download!
  • Open CASCADE Technology 6.5.5 is available for download!

  • © OPEN CASCADE 2000 - 2014  |  Search  |  Contacts   |  Site map