Improve well path modeling

* Improve handling of MD at first target
* When sea level well target is disabled, update MD of first target
* Show well target spheres by default, allow toggling of spheres
* Activate well target modifiers when clicking on well targets
* Remove selection update causing an unstable 3D view
* Improve display and handling of multiple locations
* Add special 3D target for tie in well target
* Add slider to tie in MD input field
* Show MD in well path target table
* Delete all well path laterals when deleting a well path

* Python : Add lateral to parent well
* Python : Add perforation interval
This commit is contained in:
Magne Sjaastad
2021-08-13 16:48:33 +02:00
committed by GitHub
parent 40bd4c285a
commit 8dbb1d5ccd
50 changed files with 1377 additions and 310 deletions

View File

@@ -372,6 +372,9 @@ caf::CmdFeatureMenuBuilder RimContextCommandBuilder::commandsFromSelection()
{
menuBuilder << "RicNewEditableWellPathFeature";
menuBuilder << "RicNewWellPathLateralFeature";
menuBuilder << "RicLinkWellPathFeature";
menuBuilder.addSeparator();
menuBuilder << "RicNewWellPathIntersectionFeature";
appendCreateCompletions( menuBuilder );
@@ -399,12 +402,18 @@ caf::CmdFeatureMenuBuilder RimContextCommandBuilder::commandsFromSelection()
menuBuilder.subMenuEnd();
menuBuilder.addSeparator();
menuBuilder << "RicDeleteWellPathFeature";
menuBuilder.addSeparator();
if ( dynamic_cast<RimModeledWellPath*>( firstUiItem ) )
if ( auto modeledWellPath = dynamic_cast<RimModeledWellPath*>( firstUiItem ) )
{
menuBuilder << "RicShowWellPlanFeature";
menuBuilder << "RicCreateMultipleWellPathLaterals";
if ( modeledWellPath->isTopLevelWellPath() )
{
menuBuilder << "RicCreateMultipleWellPathLaterals";
}
}
}
else if ( dynamic_cast<RimWellPathCompletions*>( firstUiItem ) )
@@ -1068,6 +1077,10 @@ caf::CmdFeatureMenuBuilder RimContextCommandBuilder::commandsFromSelection()
menuBuilder << "RicCutReferencesToClipboardFeature";
menuBuilder << "Separator";
menuBuilder << "RicDeleteWellPathFeature";
menuBuilder << "RicLinkWellPathFeature";
if ( dynamic_cast<RimSummaryCase*>( firstUiItem ) || dynamic_cast<RimSummaryCaseCollection*>( firstUiItem ) )
{
menuBuilder << "RicCreatePlotFromSelectionFeature";